Bug 245502 - gfortran dies wt internal compiler error compiling standard blas testers
gfortran dies wt internal compiler error compiling standard blas testers
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: gcc (Show other bugs)
4
ppc64 Linux
low Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Fedora Extras Quality Assurance
http://www.netlib.org/blas/dblat3
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-24 11:15 EDT by Clint Whaley
Modified: 2007-11-30 17:12 EST (History)
0 users

See Also:
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 16:01:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
The dblat3.f file that the compiler dies compiling (100.65 KB, text/x-fortran)
2007-06-24 11:17 EDT, Clint Whaley
no flags Details

  None (edit)
Description Clint Whaley 2007-06-24 11:15:01 EDT
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 11:17:59 EDT
Created attachment 157712 [details]
The dblat3.f file that the compiler dies compiling
Comment 2 Jakub Jelinek 2007-06-24 16:01:37 EDT
FC4 is not supported any more for almost a year now.  This compiles just fine
on FC6.

Note You need to log in before you can comment on or make changes to this bug.