This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/52547] [4.5/4.6/4.7/4.8 Regression] ICE with openmp with nested function which requires a trampoline
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Mar 2012 19:25:44 +0000
- Subject: [Bug middle-end/52547] [4.5/4.6/4.7/4.8 Regression] ICE with openmp with nested function which requires a trampoline
- Auto-submitted: auto-generated
- References: <bug-52547-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52547
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 19:25:44 UTC ---
Author: jakub
Date: Thu Mar 22 19:25:36 2012
New Revision: 185707
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=185707
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:
trunk/libgomp/testsuite/libgomp.c/pr52547.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/tree-nested.c
trunk/libgomp/ChangeLog