That one appears on all sparc-solaris2.* testresults, for
gfortran.dg/cray_pointers_2.f90. Minimal set of flags to reproduce:
-funroll-loops -fcray-pointer -O1 (it works OK at -O0 or without loops
unrolling).

$ gfortran cray_pointers_2.f90 -funroll-loops -fcray-pointer -O1 && ./a.out     
zsh: segmentation fault  ./a.out

Don't know if I'm supposed to mark it target or tree-optimization, please
correct if I did it wrong.


-- 
           Summary: -O1 -funroll-loops leads to segfault
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fxcoudert at gcc dot gnu dot org
 GCC build triplet: sparc-solaris2.*
  GCC host triplet: sparc-solaris2.*
GCC target triplet: sparc-solaris2.*


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

Reply via email to