Bug 245502

Summary: gfortran dies wt internal compiler error compiling standard blas testers
Product: [Fedora] Fedora Reporter: Clint Whaley <rcwhaley>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64   
OS: Linux   
URL: http://www.netlib.org/blas/dblat3
Whiteboard:
Fixed In Version: gcc-4.1.1-51.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-06-24 20:01:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
The dblat3.f file that the compiler dies compiling none

Description Clint Whaley 2007-06-24 15:15:01 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.6) Gecko/20060804 Fedora/1.0.4-0.5.1.fc5 SeaMonkey/1.0.4

Description of problem:
Dies in compiling the standard BLAS tester on POWER4 architecture:

gfortran -O -m64 dblat3.f
dblat3.f: In function ‘dchk2’:
dblat3.f:888: internal compiler error: in gen_add2_insn, at optabs.c:4031
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.

octavius>gfortran -v
Using built-in specs.
Target: ppc64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,java,f95 --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --host=ppc64-redhat-linux --build=ppc64-redhat-linux --target=ppc64-redhat-linux --with-cpu=default32
Thread model: posix
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

octavius>uname -a
Linux octavius 2.6.17-1.2139_FC4 #1 SMP Fri Jun 23 21:05:23 EDT 2006 ppc64 ppc64 ppc64 GNU/Linux


Version-Release number of selected component (if applicable):
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

How reproducible:
Always


Steps to Reproduce:
1.  Download dblat.f from netlib address above
2.  gfortran -O -m64 dblat3.f on POWER4

Actual Results:
octavius>gfortran -O -m64 sblat3.f
sblat3.f: In function ‘schk2’:
sblat3.f:888: internal compiler error: in gen_add2_insn, at optabs.c:4031
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.


Expected Results:
produce object file

Additional info:
Problem seems to go away if I compile with no optimization.  Problem is definitely arch-specific: I compile these tester routines daily on a variety of architectures, using both standard gnu compilers and Fedora versions.

Comment 1 Clint Whaley 2007-06-24 15:17:59 UTC
Created attachment 157712 [details]
The dblat3.f file that the compiler dies compiling

Comment 2 Jakub Jelinek 2007-06-24 20:01:37 UTC
FC4 is not supported any more for almost a year now.  This compiles just fine
on FC6.