This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]