http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57784
Marc Glisse <glisse at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal --- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > This is hard to fix and will not be fixed as gcc does not know it is writing > to a source file or a file you just happen to name to end with .cc . Uh, what's wrong about using a heuristic and refusing to compile when the name of the output file ends in .c, .C, .cc, .f90, etc (possibly unless some -fweird-output-name is also passed) and the file already exists?