[Bug driver/80182] accidently invoked `gcc -lm -o file.c` which deletes file.c

2024-05-20 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80182 --- Comment #10 from Peter Damianov --- https://sourceware.org/bugzilla/show_bug.cgi?id=31761 Bug report for binutils here.

[Bug driver/80182] accidently invoked `gcc -lm -o file.c` which deletes file.c

2024-05-20 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80182 Peter Damianov changed: What|Removed |Added Assignee|peter0x44 at disroot dot org |unassigned at gcc dot gnu.org -

[Bug driver/80182] accidently invoked `gcc -lm -o file.c` which deletes file.c

2024-05-16 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80182 --- Comment #8 from Peter Damianov --- This might arguably actually be a BFD linker problem. Both lld and mold don't have the problem for the example. Gold also has the same issue.

[Bug driver/80182] accidently invoked `gcc -lm -o file.c` which deletes file.c

2024-05-15 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80182 Segher Boessenkool changed: What|Removed |Added CC||mkuvyrkov at gcc dot gnu.org --- Co

[Bug driver/80182] accidently invoked `gcc -lm -o file.c` which deletes file.c

2024-05-15 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80182 --- Comment #6 from Peter Damianov --- Unfortuantely, this patch fails to bootstrap on linaro CI, but it bootstraps fine on my machine. All my attempts to reproduce this failed, and I am really not sure what to do from here. https://patchwork.so

[Bug driver/80182] accidently invoked `gcc -lm -o file.c` which deletes file.c

2024-05-12 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80182 Peter Damianov changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug driver/80182] accidently invoked `gcc -lm -o file.c` which deletes file.c

2024-05-11 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80182 --- Comment #5 from Peter Damianov --- I submitted a patch for this: https://gcc.gnu.org/pipermail/gcc-patches/2024-May/651340.html