[Bug driver/80182] accidently invoked `gcc -lm -o file.c` which deletes file.c
peter0x44 at disroot dot org
gcc-bugzilla@gcc.gnu.org
Mon May 20 13:23:58 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80182
Peter Damianov <peter0x44 at disroot dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|peter0x44 at disroot dot org |unassigned at gcc dot gnu.org
--- Comment #9 from Peter Damianov <peter0x44 at disroot dot org> ---
I think this should be transferred over to binutils, since I was told my patch
in the driver wasn't desired anyway, and the specific issue doesn't show up
when using other linkers. Whether it's worth doing something for the cases of
`gcc -c file1.c -o file2.c` or others with -S and -E is a different issue, and
a separate bug should be filed for that, if it's desired to do anything.
I am no longer working on this.
More information about the Gcc-bugs
mailing list