re PR middle-end/52547 (ICE with openmp with nested function which requires a trampoline)
authorJakub Jelinek <jakub@redhat.com>
Thu, 22 Mar 2012 19:25:36 +0000 (20:25 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 22 Mar 2012 19:25:36 +0000 (20:25 +0100)
commitc140ddf3923d59603aa2ceb834085ab159b77972
tree939527349ade70d1f8b4bee64cb898cba3de8246
parente75b54a2d932929a9b2e940c5aad1ef33a86c008
re PR middle-end/52547 (ICE with openmp with nested function which requires a trampoline)

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.

From-SVN: r185707
gcc/ChangeLog
gcc/tree-nested.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c/pr52547.c [new file with mode: 0644]