This is the mail archive of the
mailing list for the GCC project.
Re: bug report : -save-temps and stdin
On Sun, Oct 28, 2012 at 6:40 PM, Joseph S. Myers
> On Sun, 28 Oct 2012, Mike Dupont wrote:
>> is this known? should I report a bug? any ideas on fixing it, I might
>> be able to do so, it should be simple.
> I think the fix should be to give an early error message for compiling
> from stdin with -save-temps, and then stop the compilation because there's
> nowhere to save the intermediate files (given the lack of an input file
Alternatively, inform the user that -save-temps is ignored and continue ...
(I can see people annoyed by foreign Makefiles and tying to get at preprocessed
source with CFLAGS="... -save-temps")
> Joseph S. Myers