Commit f8d58786 by H.J. Lu Committed by Jeff Law

g77spec.c (lang_specific_driver): Check n_infiles before appending args.

        * g77spec.c (lang_specific_driver): Check n_infiles before
        appending args.

From-SVN: r20602
parent 960b4ee6
Fri Jun 19 07:54:40 1998 H.J. Lu (hjl@gnu.org)
* g77spec.c (lang_specific_driver): Check n_infiles before
appending args.
Sun Jun 7 14:04:34 1998 Richard Henderson <rth@cygnus.com>
* com.c (lang_init_options): New function.
......
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment