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] ICE with openmp with nested function which requires a trampoline


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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Internal compiler Error in  |ICE with openmp with nested
                   |create_tmp_var in           |function which requires a
                   |gimplify.c:465              |trampoline

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-15 09:27:32 UTC ---
Reduced testcase:
stinger_to_sorted_csr ( const int nv )
{
  int * vtxids;
  int i;
#pragma omp parallel for
    for (i = 0; i < nv; ++i) 
    {
      int i64cmp_local (const int *ap)
      {
    return ap - vtxids;
      }
      f (&vtxids[i], i64cmp_local);
    }
}


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