[Bug c++/84684] inserting random code / flags produces wrong code

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Mar 5 12:36:00 GMT 2018


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

--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Jakub Jelinek from comment #3)
> the errors go away.  Or if I remove int main () { and }, i.e. keep the
> static_asserts at the toplevel, it fails, but in different spots than when
> it is in main.

Yes, that's what made me suspect something uninitialized and try valgrind.


More information about the Gcc-bugs mailing list