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



Richard Biener <rguenth at gcc dot gnu.org> changed:



           What    |Removed                     |Added

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

             Status|ASSIGNED                    |RESOLVED

         Resolution|                            |FIXED



--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> 2013-04-29 
11:32:02 UTC ---

Author: rguenth

Date: Mon Apr 29 11:31:33 2013

New Revision: 198409



URL: http://gcc.gnu.org/viewcvs?rev=198409&root=gcc&view=rev

Log:

2013-04-29  Richard Biener  <rguent...@suse.de>



    PR middle-end/57089

    * omp-low.c (expand_omp_taskreg): If the parent function had

    a broken loop tree make sure to schedule a fixup for the child

    as well.

    (expand_omp_for_generic): Properly add loops.

    (expand_omp_for_static_nochunk): Likewise.

    (expand_omp_for_static_chunk): Likewise.

    (expand_omp_for): For the degenerate case fixup loops.

    (expand_omp_sections): Fix default bb placement in loops.

    (expand_omp_atomic_pipeline): Properly add loops.



    * gfortran.dg/gomp/pr57089.f90: New testcase.



Added:

    trunk/gcc/testsuite/gfortran.dg/gomp/pr57089.f90

Modified:

    trunk/gcc/ChangeLog

    trunk/gcc/omp-low.c

    trunk/gcc/testsuite/ChangeLog

Reply via email to