On Sun, Oct 28, 2012 at 6:40 PM, Joseph S. Myers <jos...@codesourcery.com> wrote: > 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 > name).
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") Richard. > -- > Joseph S. Myers > jos...@codesourcery.com