The following valid code snippet triggers an ICE on mainline when compiled
with "-fopenmp":

========================================
void foo()
{
#pragma omp parallel
  {
    struct A;
  }
}
========================================

bug.c: In function 'foo':
bug.c:3: internal compiler error: in replace_by_duplicate_decl, at
tree-cfg.c:5412
Please submit a full bug report, [etc.]

The bug appeared between 2008-06-21 and 2008-07-05.


-- 
           Summary: [4.4 regression] ICE with #pragma omp parallel and
                    struct declaration
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code, monitored, openmp
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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

Reply via email to