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
This commit is contained in:
Jason Merrill 1999-09-22 00:30:34 +00:00 committed by Jason Merrill
parent 707f5f6d45
commit 2a135ded8c
2 changed files with 9 additions and 0 deletions

View File

@ -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,

View File

@ -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"))