[Bug middle-end/52547] [4.6 Regression] ICE with openmp with nested function which requires a trampoline

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Apr 3 18:16:00 GMT 2013


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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-03 18:16:22 UTC ---
Author: jakub
Date: Wed Apr  3 17:52:33 2013
New Revision: 197441

URL: http://gcc.gnu.org/viewcvs?rev=197441&root=gcc&view=rev
Log:
    Backported from mainline
    2012-03-22  Jakub Jelinek  <jakub@redhat.com>

    PR middle-end/52547
    * tree-nested.c (convert_tramp_reference_stmt): Call declare_vars
    on any new_local_var_chain vars declared during recursing on
    GIMPLE_OMP_PARALLEL or GIMPLE_OMP_TASK body.

    * testsuite/libgomp.c/pr52547.c: New test.

Added:
    branches/gcc-4_6-branch/libgomp/testsuite/libgomp.c/pr52547.c
Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/tree-nested.c
    branches/gcc-4_6-branch/libgomp/ChangeLog



More information about the Gcc-bugs mailing list