Bug 492736

Summary: gfortran ice: internal compiler error: in modified_type_die, at dwarf2out.c:8495
Product: Red Hat Enterprise Linux 4 Reporter: Mark Williamson <mjw>
Component: gcc4Assignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact: BaseOS QE <qe-baseos-auto>
Severity: high Docs Contact:
Priority: low    
Version: 4.9   
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 16:03:54 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:

Description Mark Williamson 2009-03-29 01:02:35 UTC
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 16:03:54 UTC
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.