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 15:04:00 +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
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
AssignedTo|unassigned at gcc dot |jakub at gcc dot gnu.org
|gnu.org |
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-22 15:04:00 UTC ---
Created attachment 26957
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26957
gcc47-pr52547.patch
Untested fix. Note the nested fn in OpenMP is only barely supported, it will
very likely not do what you expect (the nested function will be accessing the
copy of the variables of the function, not the possibly privatized copies of
the omp region (as if all the vars were shared), and e.g. non-local gotos in
them will not even compile.