This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/32528] -save-temps when compiling standard input fails
- From: "manu at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 13 Nov 2007 05:03:25 -0000
- Subject: [Bug c/32528] -save-temps when compiling standard input fails
- References: <bug-32528-11211@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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