diff options
author | Jason Merrill <jason@yorick.cygnus.com> | 1999-09-22 00:30:34 +0000 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 1999-09-21 20:30:34 -0400 |
commit | 2a135ded8c890c7f2237aa86fabc80ca8bb59028 (patch) | |
tree | bfd5c90fdd81ac0b869dc5eb31ebab7b1b34926b | |
parent | 707f5f6d4515f26085d4d5c062464a3895b05cdf (diff) | |
download | gcc-2a135ded8c890c7f2237aa86fabc80ca8bb59028.zip gcc-2a135ded8c890c7f2237aa86fabc80ca8bb59028.tar.gz gcc-2a135ded8c890c7f2237aa86fabc80ca8bb59028.tar.bz2 |
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
-rw-r--r-- | gcc/cp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/cp/decl2.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index ec8ddf1..d7b70c6 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,8 @@ +1999-09-21 Jason Merrill <jason@yorick.cygnus.com> + + * decl2.c (lang_decode_option): Accept and ignore -finit-priority. + Accept and warn about -fthis-is-variable. + 1999-09-21 Mark Mitchell <mark@codesourcery.com> * dump.c (dequeue_and_dump): Handle START_CATCH_STMT, diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 09ea7dc..a348fe8 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")) |