I have not really debugged the program, but it compilers & runs with NAG f95,
g95 and ifort - and with gfortran 4.2. It fails with gfortran 4.3, 4.4 and 4.5.
(It does not compile with 4.1 due to allocatable compounds.)

Reported by Armelius Cameron at
   http://gcc.gnu.org/ml/fortran/2010-01/msg00082.html
It segfaults here with 4.5 and only gives a bogus error with -fcheck-bounds in
4.3/4.4; however, the modified version (attached) crashes with 4.3/4.4/4.5.


-- 
           Summary: [4.3/4.4/4.5 Regression] Wrong-code with allocatable
                    compounds
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: burnus at gcc dot gnu dot org
OtherBugsDependingO 42361
             nThis:


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

Reply via email to