Bug 39296 - ICE in cselib_hash_rtx with -O -fPIC -mcmodel=large
Summary: ICE in cselib_hash_rtx with -O -fPIC -mcmodel=large
Status: RESOLVED DUPLICATE of bug 38988
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: 4.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-24 22:25 UTC by kargls
Modified: 2009-02-25 01:47 UTC (History)
4 users (show)

See Also:
Host:
Target: x86_64-unknown-freebsd8.0
Build:
Known to work:
Known to fail: 4.3.3 4.4.0
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kargls 2009-02-24 22:25:49 UTC
troutmask:sgk[228] work/4x/bin/gfortran -c -fPIC -O -mcmodel=large g.f
g.f: In function 'a':
g.f:8: internal compiler error: in cselib_hash_rtx, at cselib.c:740
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Same problem troutmask:sgk[231] cat g.f
      program a
      implicit none
      integer*8 it,two
      parameter(it=1073741824,two=2)
      complex foo(it*two-1)
      foo(10)=1.
      write(*,*) ''
      write(*,*) 'Compiled Medium Model'
      end program a 
occurs with -O2 and -O3.
Comment 1 H.J. Lu 2009-02-25 01:47:44 UTC
I can't reproduce it on Linux with revision 144417. I believe it is a dup
of PR 38988. Reopen it if it isn't fixed in trunk.

*** This bug has been marked as a duplicate of 38988 ***
Comment 2 Steve Kargl 2009-02-25 22:38:20 UTC
Subject: Re:  ICE in cselib_hash_rtx with -O -fPIC -mcmodel=large

On Wed, Feb 25, 2009 at 01:47:45AM -0000, hjl dot tools at gmail dot com wrote:
> 
> ------- Comment #1 from hjl dot tools at gmail dot com  2009-02-25 01:47 -------
> I can't reproduce it on Linux with revision 144417. I believe it is a dup
> of PR 38988. Reopen it if it isn't fixed in trunk.
> 
> *** This bug has been marked as a duplicate of 38988 ***
> 
> 

Testing shows that the bug was fixed by revision 144417.