[Bug fortran/50690] [4.7 Regression] ICE with front end optimization and OMP workshare
tkoenig at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Dec 11 17:49:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50690
--- Comment #8 from Thomas Koenig <tkoenig at gcc dot gnu.org> 2011-12-11 17:43:26 UTC ---
Author: tkoenig
Date: Sun Dec 11 17:43:22 2011
New Revision: 182208
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182208
Log:
2011-12-11 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/50690
* frontend-passes.c (in_omp_workshare): New variable.
(cfe_expr_0): Don't eliminiate common function if it would put
the variable immediately into a WORKSHARE construct.
(optimize_namespace): Set in_omp_workshare.
(gfc_code_walker): Keep track of OMP PARALLEL and OMP WORKSHARE
constructs.
2011-12-11 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/50690
* gfortran.dg/gomp/workshare2.f90: New test.
* gfortran.dg/gomp/workshare3.f90: New test.
Added:
trunk/gcc/testsuite/gfortran.dg/gomp/workshare2.f90
trunk/gcc/testsuite/gfortran.dg/gomp/workshare3.f90
Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/frontend-passes.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list