OSDN Git Service

* gcc.c (proces_command): Improve error message for -o with
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Apr 1998 22:39:36 +0000 (22:39 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 8 Apr 1998 22:39:36 +0000 (22:39 +0000)
        either -c or -S.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19058 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.c

index 323b0c8..1017d18 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 ff4cf95..614553a 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.  */