This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/55022] [4.8 Regression] air.f90 is miscompliled with -m64 -O2 -fgraphite-identity after revision 190619
- From: "dominiq at lps dot ens.fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 22 Oct 2012 14:24:51 +0000
- Subject: [Bug tree-optimization/55022] [4.8 Regression] air.f90 is miscompliled with -m64 -O2 -fgraphite-identity after revision 190619
- Auto-submitted: auto-generated
- References: <bug-55022-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55022
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-10-22 14:24:51 UTC ---
Created attachment 28507
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=28507
compressed archive for the test
The attachment contains the original source air_main.f90 without the
subroutines botwall and topwall which are in the files botwall.f90 and
topwall.f90, and the files datax.inp and datay.inp needed to run the test. It
can be used as
gfc -c -O2 -fgraphite-identity air_main.f90
gfortran -c -O2 -fgraphite-identity botwall.f90 topwall.f90
gfc air_main.o botwall.o topwall.o
With gfc any post r190619 gfortran and gfortran any version pre r188694, this
will give a working executable. If botwall.f90 and/or topwall.f90 is compiled
with a post r190619 gfortran, the executable will give NANs.