Red Hat Bugzilla – Bug 21198
gcc 2.96-64 has problems compiling LAPACK on SPARC
Last modified: 2007-04-18 12:29:58 EDT
gcc 2.96-64 has problems compiling claswp.f on SPARC with -O2 (-O1 works fine):
[root@bart /]# g77 -c -O1 claswp.f
[root@bart /]# g77 -c -O2 claswp.f
claswp.f: In subroutine `claswp':
claswp.f:116: Internal compiler error in verify_local_live_at_start, at
Please submit a full bug report.
See <URL:http://bugzilla.redhat.com/bugzilla/> for instructions.
claswp.f is part of LAPACK.
Created attachment 5626 [details]
FORTRAN file which triggers a problem in gcc.
FWIW, when I ran an ia64 compiler on a buggy machine, it
*always* ICEd at that exact point. Maybe our sparcs have the
same hardware bug? :)
No, I'm able to reproduce it on my SPARC and even in an ia32->SPARC cross
g77. It does not happen in current CVS nor on subreg-byte branch (cut
in September), so I'll have to track down which patch fixes this.
This was fixed in gcc-2.96-101.