Code works with no optimization, and after removing the assigned goto's it
works with optimization.  I'm on a dual opteron system with
GNU Fortran 95 (GCC) 4.1.2 (Gentoo 4.1.2)
When compiling gcc, I used: CFLAGS="-O2 -march=opteron -pipe
-fomit-frame-pointer"
The old g77 worked on this code.


-- 
           Summary: Big code with assigned goto's loops with optimization
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: fkrogh#gcc at mathalacarte dot com


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

Reply via email to