[Bug c/106843] gcc with -O2 corrupt data on stack

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Sep 6 02:54:40 GMT 2022


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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The temporary that stores the Designated initializer goes out of scope at the
end of the statement that is inside the if statement.


More information about the Gcc-bugs mailing list