This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Dec 2009 16:56:46 -0000
- Subject: [Bug middle-end/41082] [4.5 Regression] FAIL: gfortran.fortran-torture/execute/where_2.f90 execution, -O3 -g with -m64
- References: <bug-41082-12313@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #34 from dominiq at lps dot ens dot fr 2009-12-22 16:56 -------
The patch in comment #32 (without the one in comment #31) does fix the pr:
[karma] f90/bug% gfc -O3 -ftree-vectorizer-verbose=2 where_2.f90
where_2.f90:11: note: LOOP VECTORIZED.
where_2.f90:11: note: not vectorized: relevant stmt not supported: cond.23_79 =
D.1255_78 > 6;
where_2.f90:11: note: not vectorized: relevant stmt not supported: cond.15_57 =
D.1238_56 == 0;
where_2.f90:11: note: not vectorized: relevant stmt not supported: cond.9_43 =
D.1227_42 < 0;
where_2.f90:5: note: LOOP VECTORIZED.
where_2.f90:2: note: vectorized 2 loops in function.
[karma] f90/bug% a.out
100 100 100 210 210 210
310 337 310 310
Abort
[karma] f90/bug% gfc -m64 -O3 -ftree-vectorizer-verbose=2 where_2.f90
where_2.f90:11: note: LOOP VECTORIZED.
where_2.f90:11: note: not vectorized: relevant stmt not supported: cond.23_79 =
D.1270_78 > 6;
where_2.f90:11: note: not vectorized: relevant stmt not supported: cond.15_57 =
D.1253_56 == 0;
where_2.f90:11: note: not vectorized: relevant stmt not supported: cond.9_43 =
D.1242_42 < 0;
where_2.f90:5: note: LOOP VECTORIZED.
where_2.f90:2: note: vectorized 2 loops in function.
[karma] f90/bug% a.out
100 100 100 210 210 210
310 337 310 337
Abort
I'll attach the result of '-O3 -ftree-vectorizer-verbose=9' for
gcc/testsuite/gfortran.fortran-torture/execute/where_2.f90.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41082