[Bug c++/79819] collect2 undefined reference when -O0. Regression (or bugfix?) since gcc5

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 2 19:32:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79819

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
You can create additional attachments one at a time.

Yes, I believe your code has undefined behaviour, so the linker error is not a
gcc bug.


More information about the Gcc-bugs mailing list