From 2a135ded8c890c7f2237aa86fabc80ca8bb59028 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Wed, 22 Sep 1999 00:30:34 +0000 Subject: [PATCH] decl2.c (lang_decode_option): Accept and ignore -finit-priority. * decl2.c (lang_decode_option): Accept and ignore -finit-priority. Accept and warn about -fthis-is-variable. From-SVN: r29571 --- gcc/cp/ChangeLog | 5 +++++ gcc/cp/decl2.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ec8ddf1ab57..d7b70c63935 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1999-09-21 Jason Merrill + + * decl2.c (lang_decode_option): Accept and ignore -finit-priority. + Accept and warn about -fthis-is-variable. + 1999-09-21 Mark Mitchell * dump.c (dequeue_and_dump): Handle START_CATCH_STMT, diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 09ea7dc6a84..a348fe85690 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -574,13 +574,17 @@ lang_decode_option (argc, argv) || !strcmp (p, "no-save-memoized") || !strcmp (p, "no-all-virtual") || !strcmp (p, "no-enum-int-equiv") + || !strcmp (p, "init-priority") + || !strcmp (p, "no-init-priority") || !strcmp (p, "nonnull-objects") + || !strcmp (p, "no-this-is-variable") || !strcmp (p, "ansi-overloading")) /* ignore */ ; else if (!strcmp (p, "all-virtual") || !strcmp (p, "enum-int-equiv") || !strcmp (p, "no-nonnull-objects") + || !strcmp (p, "this-is-variable") || !strcmp (p, "no-ansi-overloading")) warning ("-f%s is no longer supported", p); else if (! strcmp (p, "alt-external-templates")) -- 2.30.2