[Bug c/32528] -save-temps when compiling standard input fails

manu at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 13 05:03:00 GMT 2007



------- Comment #5 from manu at gcc dot gnu dot org  2007-11-13 05:03 -------
(In reply to comment #2)
> Created an attachment (id=14537)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14537&action=view) [edit]
> Idea for a fix
> 
> I started on a patch for this a few months ago.  It basically just prepended ./
> to all the temporary file names.  Attached.  I doubt it will still apply right
> off the bat, but just take it as an idea for a fix.
> 

If this approach is deemed suitable, then I think a better fix would be to
build the %b substitution with ./ prefixed already.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32528



More information about the Gcc-bugs mailing list