Commit 2a135ded by Jason Merrill Committed by Jason Merrill

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
parent 707f5f6d
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> 1999-09-21 Mark Mitchell <mark@codesourcery.com>
* dump.c (dequeue_and_dump): Handle START_CATCH_STMT, * dump.c (dequeue_and_dump): Handle START_CATCH_STMT,
......
...@@ -574,13 +574,17 @@ lang_decode_option (argc, argv) ...@@ -574,13 +574,17 @@ lang_decode_option (argc, argv)
|| !strcmp (p, "no-save-memoized") || !strcmp (p, "no-save-memoized")
|| !strcmp (p, "no-all-virtual") || !strcmp (p, "no-all-virtual")
|| !strcmp (p, "no-enum-int-equiv") || !strcmp (p, "no-enum-int-equiv")
|| !strcmp (p, "init-priority")
|| !strcmp (p, "no-init-priority")
|| !strcmp (p, "nonnull-objects") || !strcmp (p, "nonnull-objects")
|| !strcmp (p, "no-this-is-variable")
|| !strcmp (p, "ansi-overloading")) || !strcmp (p, "ansi-overloading"))
/* ignore */ /* ignore */
; ;
else if (!strcmp (p, "all-virtual") else if (!strcmp (p, "all-virtual")
|| !strcmp (p, "enum-int-equiv") || !strcmp (p, "enum-int-equiv")
|| !strcmp (p, "no-nonnull-objects") || !strcmp (p, "no-nonnull-objects")
|| !strcmp (p, "this-is-variable")
|| !strcmp (p, "no-ansi-overloading")) || !strcmp (p, "no-ansi-overloading"))
warning ("-f%s is no longer supported", p); warning ("-f%s is no longer supported", p);
else if (! strcmp (p, "alt-external-templates")) else if (! strcmp (p, "alt-external-templates"))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment