Commit a23ea598 by Richard Kenner

(process_command): If -save-temps and -pipe were specified together,

don't do -pipe.

From-SVN: r14415
parent 7ad9ff7a
...@@ -2876,6 +2876,9 @@ process_command (argc, argv) ...@@ -2876,6 +2876,9 @@ process_command (argc, argv)
i++; i++;
else if (strncmp (argv[i], "-specs=", 7) == 0) else if (strncmp (argv[i], "-specs=", 7) == 0)
; ;
/* -save-temps overrides -pipe, so that temp files are produced */
else if (save_temps_flag && strcmp (argv[i], "-pipe") == 0)
error ("Warning: -pipe ignored since -save-temps specified");
else if (argv[i][0] == '-' && argv[i][1] != 0) else if (argv[i][0] == '-' && argv[i][1] != 0)
{ {
register char *p = &argv[i][1]; register char *p = &argv[i][1];
......
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