[Bug middle-end/52547] ICE with openmp with nested function which requires a trampoline

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Mar 15 09:31:00 GMT 2012


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);
    }
}



More information about the Gcc-bugs mailing list