[Bug c++/40200] New: ''gcc file.cpp -o file.cpp'' Kills the code
_paul at bk dot ru
gcc-bugzilla@gcc.gnu.org
Tue May 19 16:47:00 GMT 2009
Command
gcc file.cpp -o file.cpp
leads to overwriting of the code by the compiled version
I propose error or backup of the overwritten file if it is equal to the sourse
file.
This happened just now. I was in deep debug.
While it didn't compile - no problem.
As soon as I finished with all compile errors - I lost the code.
This is not the first time I tried to do such a dumb thing. But earlier I
stopped myself. To great regret - not now.
--
Summary: ''gcc file.cpp -o file.cpp'' Kills the code
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: major
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: _paul at bk dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40200
More information about the Gcc-bugs
mailing list