Bug 39196 - [4.4 Regression] ICE in copyprop_hardreg_forward_1, at regrename.c:1603 during libjava compile
Summary: [4.4 Regression] ICE in copyprop_hardreg_forward_1, at regrename.c:1603 durin...
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: rtl-optimization (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: 4.4.0
Assignee: Not yet assigned to anyone
URL:
Keywords:
: 39198 (view as bug list)
Depends on:
Blocks: 38824
  Show dependency treegraph
 
Reported: 2009-02-15 17:14 UTC by Christophe Saout
Modified: 2009-02-16 09:14 UTC (History)
2 users (show)

See Also:
Host: x86_64-pc-linux-gnu
Target: x86_64-pc-linux-gnu
Build: x86_64-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed:


Attachments
preprocessed code (unused stuff cut out) (3.01 KB, text/plain)
2009-02-15 17:17 UTC, Christophe Saout
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Saout 2009-02-15 17:14:53 UTC
This appeared during compile of the last weekly 4.4.0 snapshot in libjava compilation:

libtool: compile:  /var/tmp/portage/sys-devel/gcc-4.4.0_alpha20090215/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.4.0_alpha20090215/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-devel/gcc-4.4.0_alpha20090215/work/gcc-4.4-20090215/libjava/classpath/native/fdlibm -I../../include -fexceptions -fasynchronous-unwind-tables -g -O2 -march=nocona -pipe -MT dtoa.lo -MD -MP -MF .deps/dtoa.Tpo -c /var/tmp/portage/sys-devel/gcc-4.4.0_alpha20090215/work/gcc-4.4-20090215/libjava/classpath/native/fdlibm/dtoa.c  -fPIC -DPIC -o .libs/dtoa.o
/var/tmp/portage/sys-devel/gcc-4.4.0_alpha20090215/work/gcc-4.4-20090215/libjava/classpath/native/fdlibm/dtoa.c: In function ‘_Jv_dtoa_r’:
/var/tmp/portage/sys-devel/gcc-4.4.0_alpha20090215/work/gcc-4.4-20090215/libjava/classpath/native/fdlibm/dtoa.c:885: error: insn does not satisfy its constraints:
(insn 2428 2427 687 103 /var/tmp/portage/sys-devel/gcc-4.4.0_alpha20090215/work/gcc-4.4-20090215/libjava/classpath/native/fdlibm/dtoa.c:536 (set (reg:DF 26 xmm5 [orig:233 D.3242 ] [233])
        (mult:DF (reg:DF 26 xmm5 [orig:233 D.3242 ] [233])
            (reg:DF 0 ax))) 722 {*fop_df_comm_sse} (nil))
/var/tmp/portage/sys-devel/gcc-4.4.0_alpha20090215/work/gcc-4.4-20090215/libjava/classpath/native/fdlibm/dtoa.c:885: internal compiler error: in copyprop_hardreg_forward_1, at regrename.c:1603
Please submit a full bug report,
with preprocessed source if appropriate.

Reproducible on the preprocessed source using:

/var/tmp/portage/sys-devel/gcc-4.4.0_alpha20090215/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.4.0_alpha20090215/work/build/./gcc/ -o dtoa.o dtoa.i -O2 -march=nocona
Comment 1 Christophe Saout 2009-02-15 17:17:14 UTC
Created attachment 17303 [details]
preprocessed code (unused stuff cut out)
Comment 2 hjl@gcc.gnu.org 2009-02-15 20:12:56 UTC
Subject: Bug 39196

Author: hjl
Date: Sun Feb 15 20:12:41 2009
New Revision: 144191

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=144191
Log:
2009-02-15  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/39196
	* config/i386/i386.md: Restrict the new peephole2 to move
	between MMX/SSE registers.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.md

Comment 3 H.J. Lu 2009-02-15 20:13:15 UTC
Fixed.
Comment 4 H.J. Lu 2009-02-15 20:27:38 UTC
*** Bug 39198 has been marked as a duplicate of this bug. ***