/src/gcc/local/gcc/gcc/testsuite/gcc.dg/gomp/vla-3.c: In function 'foo':^M
/src/gcc/local/gcc/gcc/testsuite/gcc.dg/gomp/vla-3.c:9: error: statement types
mismatch^M
.omp_data_iD.1591 = &.omp_data_o.11D.1606;^M
^M
struct .omp_data_s.9D.1599 *^M
struct .omp_data_s.9D.1588 *^M
/src/gcc/local/gcc/gcc/testsuite/gcc.dg/gomp/vla-3.c:9: internal compiler
error: verify_stmts failed^M
Please submit a full bug report,^M
with preprocessed source if appropriate.^M
See <URL:http://gcc.gnu.org/bugs.html> for instructions.^M


FAIL: gcc.dg/gomp/vla-3.c (internal compiler error)
FAIL: gcc.dg/gomp/vla-3.c (test for excess errors)

----
Testcase:
// { dg-do compile }

void foo(int n, int i)
{
  int A[n];

  #pragma omp parallel shared(A)
    {
      A[i] = sizeof(A);
    }
}


-- 
           Summary: GNU OpenMP produces type mismatches
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Keywords: openmp
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
OtherBugsDependingO 22368
             nThis:


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

Reply via email to