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

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 22 19:44:00 GMT 2012


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

--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 19:28:01 UTC ---
Author: jakub
Date: Thu Mar 22 19:27:52 2012
New Revision: 185708

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185708
Log:
    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_7-branch/libgomp/testsuite/libgomp.c/pr52547.c
Modified:
    branches/gcc-4_7-branch/gcc/ChangeLog
    branches/gcc-4_7-branch/gcc/tree-nested.c
    branches/gcc-4_7-branch/libgomp/ChangeLog



More information about the Gcc-bugs mailing list