gcc.c (do_spec): Call "error" not "warning".

* gcc.c (do_spec): Call "error" not "warning".
Opps.

From-SVN: r21319
This commit is contained in:
Jeffrey A Law 1998-07-21 07:52:35 +00:00 committed by Jeff Law
parent 96e30856cf
commit 50ea20cfa8
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
Tue Jul 21 00:31:01 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c (do_spec): Call "error" not "warning".
* configure.in: Fix minor problems with gas feature detection code.
* configure: Rebuilt.

View File

@ -4039,7 +4039,7 @@ do_spec_1 (spec, inswitch, soft_matched_part)
%[...] modifies -D options the way %P does;
%(...) uses the spec unmodified. */
case '[':
warning ("use of obsolete %%[ operator in specs");
error ("Warning: use of obsolete %%[ operator in specs");
case '(':
{
char *name = p;