(g77) internal compiler error: Segmentation fault

Jerry DeLisle jvdelisle@verizon.net
Sat May 26 01:21:00 GMT 2007


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



More information about the Gcc-bugs mailing list