Bug 245502 - gfortran dies wt internal compiler error compiling standard blas testers
Summary: gfortran dies wt internal compiler error compiling standard blas testers
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 4
Hardware: ppc64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL: http://www.netlib.org/blas/dblat3
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-06-24 15:15 UTC by Clint Whaley
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version: gcc-4.1.1-51.fc6
Clone Of:
Environment:
Last Closed: 2007-06-24 20:01:37 UTC
Type: ---
Embargoed:


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

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.


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