https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[12/13/14/15 regression] |[12/13/14 regression]
|Miscompile with -O2/3 and |Miscompile with -O2/3 and
|-O0/1 since |-O0/1 since
|r12-7751-g919fbffef07555 |r12-7751-g919fbffef07555
--- Comment #19 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Fixed on the trunk.
Unsure about backports, that feels quite risky.