Bug 492736 - gfortran ice: internal compiler error: in modified_type_die, at dwarf2out.c:8495
Summary: gfortran ice: internal compiler error: in modified_type_die, at dwarf2out.c:...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: gcc4
Version: 4.9
Hardware: All
OS: Linux
low
high
Target Milestone: rc
: ---
Assignee: Jakub Jelinek
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-29 01:02 UTC by Mark Williamson
Modified: 2012-06-20 16:03 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 16:03:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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