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.