This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: (g77) internal compiler error: Segmentation fault


Jerry DeLisle wrote:
Roland Winkler wrote:
The (shortened) fortran-77 subroutine attached below causes a
segmentation fault of g77 when I execute

$ g77 -O3 -c -funroll-loops foo.f

No problems occur without optimization.

$ g77 --version
GNU Fortran (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
Copyright (C) 2002 Free Software Foundation, Inc.

(I have SUSE Linux 10.2)

Let me know if you need to know anything else.

G77 is no longer maintained. The new fortran compiler is gfortran and it supports f77 code. I will test to see if gfortran handles your test case.

Also, please correspond with the gfortran list on this so we fortraners can help you here. There are gfortran binaries available. Let me know if you need help with this. Also helps to know what hardware platform you are on and what OS you are using.

Regards,

Jerry

Roland,

I tried your test case with g77, gfortran 4.1, 4.2, and 4.3 and it compiles fine with the options you specified. I wonder if you have an installation problem?

Perhaps try reinstalling g77.

Regards,

Jerry



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]