Bug 492736 - gfortran ice: internal compiler error: in modified_type_die, at dwarf2out.c:8495
gfortran ice: internal compiler error: in modified_type_die, at dwarf2out.c:...
Status: CLOSED WONTFIX
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gcc4 (Show other bugs)
4.9
All Linux
low Severity high
: rc
: ---
Assigned To: Jakub Jelinek
BaseOS QE
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-28 21:02 EDT by Mark Williamson
Modified: 2012-06-20 12:03 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-20 12:03:54 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)

  None (edit)
Description Mark Williamson 2009-03-28 21:02:35 EDT
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
SANDER is a molecular dynamics program ( http://ambermd.org/ ) written in FORTRAN 95. I am a developer and recently some new code added to the CVS tree is triggering an ICE. I cannot paste this code here at the moment due to license issues, but I am currently working on an example piece of code that will cause the same issue.


  
Actual results:
[mjw:sander]$ gfortran -c -O0 -fno-second-underscore -ffree-form  -g 
-Wall -o memory_module.o _memory_module.f
_memory_module.f: In function âmory_initâ_memory_module.f:507: internal 
compiler error: in modified_type_die, at dwarf2out.c:8495
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugzilla.redhat.com/bugzilla> for instructions.


Expected results:

Compiles fine

Additional info:

[mjw:sander]$ gfortran -v
Using built-in specs.
Target: x86_64-redhat-linux5E
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 
--with-gxx-include-dir=/usr/include/c++/3.4.3 --enable-libgcj-multifile 
--enable-languages=c,c++,java,f95 --enable-java-awt=gtk --disable-dssi 
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre 
--with-cpu=generic --host=x86_64-redhat-linux5E
Thread model: posix
gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)


Works if one omits the -g flag:

gfortran -c -O0 -fno-second-underscore -ffree-form  -g -Wall -o 
memory_module.o _memory_module.f


This is not being seen with gfortran 4.3.2.
Comment 1 Jiri Pallich 2012-06-20 12:03:54 EDT
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.

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