https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81019
Mikael Pettersson <mikpelinux at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mikpelinux at gmail dot com --- Comment #2 from Mikael Pettersson <mikpelinux at gmail dot com> --- I can reproduce the wrong code. The testcase passes on trunk since r249850, but that was only an optimization tweak. If I back that revision out and apply Alexandre Oliva's proposed fix for PR80693 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80693#c2) the testcase is again fixed. And backporting the proposed PR80693 fix also fixes the testcase on the gcc-7 and gcc-6 branches.