The attached code compiles but dies with a segmentation fault.  If the
omp directive is changed from

!$omp parallel private(k,cell)

to

!$omp parallel private(k)

the code executes.


-- 
           Summary: Segfault with allocatable component in private clause
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgomp
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kargl at gcc dot gnu dot org
  GCC host triplet: i386-unknown-freebsd8.0


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

Reply via email to