http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54650



Dominique d'Humieres <dominiq at lps dot ens.fr> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

                 CC|                            |jakub at redhat dot com



--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-09-21 
11:56:06 UTC ---

>From http://gcc.gnu.org/ml/gcc-patches/2012-09/msg01514.html



> 4. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54650

> Failed one regression test in libgomp (I didn't know that there are

> regression tests for libraries before...)

> This error should be a bug exposed by this patch. I'll try to provide

> a patch as soon as possible.



This is a misunderstanding of my report at

http://gcc.gnu.org/ml/gcc-patches/2012-09/msg01441.html

in which I analyzed only one case among several failures (see pr54645 near the

end of comment #0).



On x86_64-apple-darwin10, I see 7 tests failing with -m32 or -m64:



FAIL: libgomp.fortran/crayptr2.f90  -O3 -g  (internal compiler error)

FAIL: libgomp.fortran/nestedfn1.f90  -O3 -g  (internal compiler error)

FAIL: libgomp.fortran/reduction1.f90  -O3 -g  (internal compiler error)

FAIL: libgomp.fortran/retval1.f90  -O3 -g  (internal compiler error)

FAIL: libgomp.fortran/threadprivate2.f90  -O3 -g  (internal compiler error)

FAIL: libgomp.fortran/threadprivate3.f90  -O3 -g  (internal compiler error)

FAIL: libgomp.fortran/threadprivate4.f90  -O3 -g  (internal compiler error)



plus two failing only with -m32:



FAIL: libgomp.fortran/vla6.f90  -O3 -g  (internal compiler error)

FAIL: libgomp.fortran/vla8.f90  -O3 -g  (internal compiler error)



Apparently libgomp.fortran/crayptr2.f90, libgomp.fortran/threadprivate3.f90,

and libgomp.fortran/threadprivate4.f90 do not fail on linux.



The group failing with -m32 or -m64 give the ICE for a !$omp directive with

reduction for -O2 and above, except nestedfn1.f90 and reduction1.f90 which give

the ICE for -O1 and above.



The group failing only with -m32 needs also -march=i486 and -O1 or above and

the ICE is:



/opt/gcc/work/libgomp/testsuite/libgomp.fortran/vla6.f90: In function

'foo.1841._omp_fn.0':

/opt/gcc/work/libgomp/testsuite/libgomp.fortran/vla6.f90:35:0: internal

compiler error: in change_scope, at final.c:1543

 !$omp private (p, q, r, w, x, y) shared (z)

 ^

Reply via email to