This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug testsuite/35406] gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don't work
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Mar 2008 06:37:18 -0000
- Subject: [Bug testsuite/35406] gfortran.dg/ldist-1.f90 and gcc.dg/tree-ssa/ldist-4.c don't work
- References: <bug-35406-682@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from ubizjak at gmail dot com 2008-03-14 06:37 -------
(In reply to comment #10)
> The old gcc.dg/tree-ssa/ldist-4.c passed on Linux/ia32 and failed
> on Linux/Intel64. Revision 133206 changed it to fail on Linux/ia32
> and pass on Linux/Intel64. I think you want "4|5" instead of 4 or
> 5. The same goes for gcc.dg/tree-ssa/ldist-4.c.
Actually, the test produces different results for 32bit vs 64bit targets.
You can see that in addition to x86_64, it also fails for ppc64, I guess that
the same way [1].
I think we need:
/* { dg-final { scan-tree-dump-times "distributed: split to 2 loops" 0 "ldist"
{ target ilp32 } } } */
/* { dg-final { scan-tree-dump-times "distributed: split to 2 loops" 1 "ldist"
{ target lp64 } } } */
for ldist-4.c and something similar for fortran test.
[1] http://gcc.gnu.org/ml/gcc-testresults/2008-03/msg01040.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35406