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

don't do -pipe.

From-SVN: r14415
This commit is contained in:
Richard Kenner 1997-07-13 14:03:18 -04:00
parent 7ad9ff7a2b
commit a23ea59844
1 changed files with 3 additions and 0 deletions

View File

@ -2876,6 +2876,9 @@ process_command (argc, argv)
i++;
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)
{
register char *p = &argv[i][1];