Commit 5dff71ed by Jason Merrill Committed by Jason Merrill

* toplev.c (main): Don't complain about options for other languages.

From-SVN: r29987
parent be929cff
Thu Oct 14 13:54:25 1999 Jason Merrill <jason@yorick.cygnus.com>
* toplev.c (main): Don't complain about options for other languages.
Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com> Thu Oct 14 10:51:49 1999 Richard Henderson <rth@cygnus.com>
* m68k.md (zero_extendsidi2): Add missing output reload constraint. * m68k.md (zero_extendsidi2): Add missing output reload constraint.
......
...@@ -5387,15 +5387,15 @@ main (argc, argv) ...@@ -5387,15 +5387,15 @@ main (argc, argv)
only be decoded in a language independent way if the were not only be decoded in a language independent way if the were not
decoded in a langauge specific way, which is why 'lang_processed' decoded in a langauge specific way, which is why 'lang_processed'
is passed in. */ is passed in. */
indep_processed = independent_decode_option (argc - i, argv + i, lang_processed); indep_processed = independent_decode_option (argc - i, argv + i,
lang_processed);
if (lang_processed || indep_processed) if (lang_processed || indep_processed)
i += lang_processed > indep_processed ? lang_processed : indep_processed; i += (lang_processed > indep_processed
? lang_processed : indep_processed);
else else
{ /* This option applies to some other language; ignore it. *
error ("Invalid option `%s'", argv[i]); i++;
i++;
}
} }
/* Checker uses the frame pointer. */ /* Checker uses the frame pointer. */
......
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