Bug 134732

Summary: gfortran gets ICE and segfaults
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Shaun Cummins <cumminss>
Component: DevelopmentAssignee: Philipp Thomas <pth>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: i586   
OS: SuSE Linux 10.0   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: the source file mentioned in the report
One of the needed headers
The second needed header file

Description Shaun Cummins 2005-11-21 18:44:49 UTC
When compiling a certain fortran source file in the ncarg library (http://ngwww.ucar.edu/cgi/getsrc.cgi), gfortran has a segmentation fault. The command and result is:
gfortran  -O    -c -o gesc.o gesc.f
gesc.f: In function ‘gesc’:
gesc.f:140: internal compiler error: Segmentation fault

The line it fails on is:
        READ(IDR(1), 501) GKSCLP

I'm compiling the 4.4.1 version of the ncarg library. The library compiled without any errors using the g77 compiler (version 3.3.5 20050117).
Comment 1 Philipp Thomas 2005-11-22 11:29:29 UTC
Created attachment 58078 [details]
the source file mentioned in the report
Comment 2 Philipp Thomas 2005-11-22 11:30:58 UTC
Shaun, you could at least have attatched the file yourselves. It's normally not our job to download random packages from the net.
Comment 3 Philipp Thomas 2005-11-22 14:44:11 UTC
Created attachment 58097 [details]
One of the needed headers
Comment 4 Philipp Thomas 2005-11-22 14:44:56 UTC
Created attachment 58098 [details]
The second needed header file
Comment 5 Shaun Cummins 2005-11-22 15:17:38 UTC
Sorry, I didn't see the attachment link. I will attach a file next time.
Comment 6 Richard Biener 2005-11-23 13:45:26 UTC
This is fixed in stable.