http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57784
Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |Joost.VandeVondele at mat dot
ethz
| |.ch
--- Comment #3 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch>
---
(In reply to Marc Glisse from comment #2)
> 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?
I would also be strongly in favor of such a simple heuristic... it is really a
common error that has bitten more than one user, including myself.