summaryrefslogtreecommitdiff
path: root/gcc/f/g77spec.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-19 20:02:11 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-06-19 20:02:11 +0000
commitec95a5b6023fbae8eb111983e9223bcb711abb2f (patch)
treed119a22988536105c9b48ddcc868d5ecfe80ccf1 /gcc/f/g77spec.c
parent1361ef57e48b9bcbb863c3982cbd1970a9f9c8d3 (diff)
downloadgcc-ec95a5b6023fbae8eb111983e9223bcb711abb2f.tar.gz
* g77spec.c (lang_specific_driver): Check n_infiles before
appending args. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@20602 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/f/g77spec.c')
-rw-r--r--gcc/f/g77spec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/f/g77spec.c b/gcc/f/g77spec.c
index 7c780183106..0500cb965d7 100644
--- a/gcc/f/g77spec.c
+++ b/gcc/f/g77spec.c
@@ -541,7 +541,7 @@ Report bugs to <egcs-bugs@cygnus.org>.\n");
break;
}
}
- else if (add_version_magic && verbose)
+ else if (n_infiles && add_version_magic && verbose)
{
append_arg ("-c");
append_arg ("-xf77-version");