]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gcc.c (proces_command): Improve error message for -o with either -c or -S.
authorJeffrey A Law <law@cygnus.com>
Wed, 8 Apr 1998 22:39:36 +0000 (22:39 +0000)
committerJeff Law <law@gcc.gnu.org>
Wed, 8 Apr 1998 22:39:36 +0000 (16:39 -0600)
        * gcc.c (proces_command): Improve error message for -o with
        either -c or -S.

From-SVN: r19058

gcc/ChangeLog
gcc/gcc.c

index 323b0c865af390eed4dbea7821a6f331aeefd79e..1017d1864539335a0edf4fe954d5b4b8c18311f1 100644 (file)
@@ -23,6 +23,9 @@ Fri Apr  3 17:02:13 1998  Alexandre Petit-Bianco  <apbianco@cygnus.com>
 
 Wed Apr  8 12:51:19 1998  Jeffrey A Law  (law@cygnus.com)
 
+       * gcc.c (proces_command): Improve error message for -o with
+       either -c or -S.
+
        * i386/x-cygwin32 (CLIB): Link in advapi32.
 
        * alpha.h (ASM_IDENTIFY_GCC): Define to nothing.
index ff4cf956b9cc22aa773387af3c9afd293f099071..614553ae0f826d4915dc48fe2aa4f2e884882479 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2821,7 +2821,7 @@ process_command (argc, argv)
     }
 
   if (have_c && have_o && lang_n_infiles > 1)
-    fatal ("cannot specify -o with -c and multiple compilations");
+    fatal ("cannot specify -o with -c or -S and multiple compilations");
 
   /* Set up the search paths before we go looking for config files.  */