diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-09-08 12:08:15 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-09-08 12:08:15 -0700 |
commit | fa0d53694efb0e04079f2785c6263c08be9c952c (patch) | |
tree | 6132c7ddf72843e4fc5f7df2c95597b151369a4a | |
parent | 431a6ecab3b51c825ecd2f5ad591ca858e4b296a (diff) | |
download | gcc-fa0d53694efb0e04079f2785c6263c08be9c952c.zip gcc-fa0d53694efb0e04079f2785c6263c08be9c952c.tar.gz gcc-fa0d53694efb0e04079f2785c6263c08be9c952c.tar.bz2 |
(process_command): Don't warn for -x after last input file
if spec_lang is zero.
From-SVN: r5288
-rw-r--r-- | gcc/gcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2562,7 +2562,7 @@ process_command (argc, argv) } } - if (n_infiles == last_language_n_infiles) + if (n_infiles == last_language_n_infiles && spec_lang != 0) error ("Warning: `-x %s' after last input file has no effect", spec_lang); switches[n_switches].part1 = 0; |