[Bug middle-end/30143] New: OpenMP can produce invalid gimple

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Dec 11 00:19:00 GMT 2006


Testcase:
int f (int n)
{
  int i;
#pragma omp parallel
    for (i = 1; i < n - 1; ++i)
      ;
}

------
We get:
.omp_data_iD.1661->iD.1662 = D.1669 + 1;

Which is obvious invalid gimple.
The patch in PR 30142 was used to find this.


-- 
           Summary: OpenMP can produce invalid gimple
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
OtherBugsDependingO 30142
             nThis:


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



More information about the Gcc-bugs mailing list