https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112415
--- Comment #21 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to dave.anglin from comment #20) > Both -fno-strict-aliasing and -fno-schedule-insns2 applied to > compiler_visit_expr() > work around issue. The other option to try is -fstack-reuse=none. There is definitely known issues with the code that coalesces stack variables together too (see PR 111843 for examples).