This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/81877] New: [7 Regression] Incorrect results with lto and -fipa-cp and -fipa-cp-clone
- From: "chinoune.mehdi at hotmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Aug 2017 09:04:16 +0000
- Subject: [Bug fortran/81877] New: [7 Regression] Incorrect results with lto and -fipa-cp and -fipa-cp-clone
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81877
Bug ID: 81877
Summary: [7 Regression] Incorrect results with lto and -fipa-cp
and -fipa-cp-clone
Product: gcc
Version: 7.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: chinoune.mehdi at hotmail dot com
Target Milestone: ---
Created attachment 41991
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41991&action=edit
the program which reproduce the bug
with gcc >=7.0 (7.1.0 ,7.2.0 ) this program gives incorrect results with '-O2
-fipa-cp -fipa-cp-clone -flto'.
I have reproduced this bug in Linux-64bit , MinGW-64bit ,Cygwin-64bit .
I tried my best to minimize the program to reproduce the bug.