This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/81019] [6/7/8 Regression] wrong code with -O -fno-tree-ccp
- From: "mikpelinux at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Jul 2017 14:08:52 +0000
- Subject: [Bug rtl-optimization/81019] [6/7/8 Regression] wrong code with -O -fno-tree-ccp
- Auto-submitted: auto-generated
- References: <bug-81019-4@http.gcc.gnu.org/bugzilla/>
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.