This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/50690] [4.7 Regression] ICE with front end optimization and OMP workshare


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]