gcc -save-temps deletes .o files in 3.1

Hans-Peter Nilsson hp@bitrange.com
Sun Jun 9 12:51:00 GMT 2002


On Fri, 31 May 2002, martin leisner wrote:
> I have gcc 3.1 on solaris 2.8.
>
> I expected gcc -save-temps to  leave the objects around.

Right, and there is a PR for this, other/5620.  Unfortunately
that PR has been closed.  I'll re-open it.  This is a regression
from 3.0.4, though not exactly a show-stopper.  The PR is for
3.1 but the reason for closing the report was that the problem
wasn't reproducible on mainline.  Tsk tsk.  Besides, it is
reproducible on mainline too.  Caveat: you need to *link* any
trivial program (not use -c); the bug report does not fail to
describe that.  Craig, is a spurious -c the reason why you could
not reproduce this?

brgds, H-P



More information about the Gcc-bugs mailing list