This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ipa/81877] [7/8 Regression] Incorrect results with lto and -fipa-cp and -fipa-cp-clone
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Aug 2017 09:18:55 +0000
- Subject: [Bug ipa/81877] [7/8 Regression] Incorrect results with lto and -fipa-cp and -fipa-cp-clone
- Auto-submitted: auto-generated
- References: <bug-81877-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81877
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
Status|UNCONFIRMED |NEW
Known to work| |6.4.0
Keywords| |wrong-code
Last reconfirmed| |2017-08-17
Component|fortran |ipa
CC| |marxin at gcc dot gnu.org,
| |mliska at suse dot cz,
| |rguenth at gcc dot gnu.org
Ever confirmed|0 |1
Summary|[7 Regression] Incorrect |[7/8 Regression] Incorrect
|results with lto and |results with lto and
|-fipa-cp and -fipa-cp-clone |-fipa-cp and -fipa-cp-clone
Target Milestone|--- |7.3
Known to fail| |7.1.0, 8.0
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. With -O3 -fipa-cp-clone -fipa-cp -flto it works (I think -O3
already enables those).
Fails with -O[12] -fwhole-program -fipa-cp -fipa-cp-clone (no -flto needed).