* [Bug tree-optimization/37299] libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519
2008-08-31 16:33 [Bug tree-optimization/37299] New: libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519 danglin at gcc dot gnu dot org
@ 2008-08-31 17:39 ` rguenth at gcc dot gnu dot org
2008-08-31 19:22 ` danglin at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-08-31 17:39 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-08-31 17:37 -------
Sounds like stage2 is miscompiled then. Can you try the preprocessed source
with
the stage1 compiler and the same flags?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37299
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/37299] libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519
2008-08-31 16:33 [Bug tree-optimization/37299] New: libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519 danglin at gcc dot gnu dot org
2008-08-31 17:39 ` [Bug tree-optimization/37299] " rguenth at gcc dot gnu dot org
@ 2008-08-31 19:22 ` danglin at gcc dot gnu dot org
2008-08-31 20:31 ` danglin at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-08-31 19:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from danglin at gcc dot gnu dot org 2008-08-31 19:21 -------
Yes. I can't duplicate this any more. I've been updating to
gmp-4.2.3. Now, I get a build error much earlier:
checking for suffix of object files... configure: error: in
`/test/gnu/gcc/objdi
r/hppa64-hp-hpux11.11/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
This may be the same bug as the one reported here:
http://gcc.gnu.org/ml/gcc/2008-08/msg00500.html
I have been experimenting with IRA:
--- pa64-regs.h (revision 139820)
+++ pa64-regs.h (working copy)
@@ -235,12 +235,25 @@
{{0x00000000, 0x00000000}, /* NO_REGS */ \
{0x00000002, 0x00000000}, /* R1_REGS */ \
{0xfffffffe, 0x00000000}, /* GENERAL_REGS */ \
- {0x00000000, 0x00000000}, /* FPUPPER_REGS */ \
+ {0x00000000, 0x00000000}, /* FPUPPER_REGS */ \
{0x00000000, 0x0fffffff}, /* FP_REGS */ \
{0xfffffffe, 0x0fffffff}, /* GENERAL_OR_FP_REGS */ \
{0x00000000, 0x10000000}, /* SHIFT_REGS */ \
{0xfffffffe, 0x1fffffff}} /* ALL_REGS */
+/* The following macro defines cover classes for Integrated Register
+ Allocator. Cover classes is a set of non-intersected register
+ classes covering all hard registers used for register allocation
+ purpose. Any move between two registers of a cover class should be
+ cheaper than load or store of the registers. The macro value is
+ array of register classes with LIM_REG_CLASSES used as the end
+ marker. */
+
+#define IRA_COVER_CLASSES \
+{ \
+ GENERAL_REGS, FP_REGS, SHIFT_REGS, LIM_REG_CLASSES \
+}
+
Had a full bootstrap with this define on hppa2.0w-hp-hpux11.11. The
define seemed straight forward on the PA.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37299
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/37299] libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519
2008-08-31 16:33 [Bug tree-optimization/37299] New: libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519 danglin at gcc dot gnu dot org
2008-08-31 17:39 ` [Bug tree-optimization/37299] " rguenth at gcc dot gnu dot org
2008-08-31 19:22 ` danglin at gcc dot gnu dot org
@ 2008-08-31 20:31 ` danglin at gcc dot gnu dot org
2008-09-01 20:46 ` dave at hiauly1 dot hia dot nrc dot ca
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-08-31 20:31 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from danglin at gcc dot gnu dot org 2008-08-31 20:30 -------
The problem in comment #2 is the libgmp/libmpfr installation. I
accidentally installed the shared versions which have a dependency
on libgcc_s.sl. As a result, the following fails:
configure:2611: /test/gnu/gcc/objdir/./gcc/xgcc -B/test/gnu/gcc/objdir/./gcc/
-B
/opt/gnu64/gcc/gcc-4.4.0/hppa64-hp-hpux11.11/bin/
-B/opt/gnu64/gcc/gcc-4.4.0/hpp
a64-hp-hpux11.11/lib/ -isystem
/opt/gnu64/gcc/gcc-4.4.0/hppa64-hp-hpux11.11/incl
ude -isystem /opt/gnu64/gcc/gcc-4.4.0/hppa64-hp-hpux11.11/sys-include -c -g -O2
conftest.c >&5
/usr/lib/pa20_64/dld.sl: Unable to find library 'libgcc_s.sl'.
xgcc: Internal error: Killed (program cc1)
The embedded path for libmpfr.sl doesn't include a search path for libgcc_s.sl.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37299
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/37299] libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519
2008-08-31 16:33 [Bug tree-optimization/37299] New: libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519 danglin at gcc dot gnu dot org
` (2 preceding siblings ...)
2008-08-31 20:31 ` danglin at gcc dot gnu dot org
@ 2008-09-01 20:46 ` dave at hiauly1 dot hia dot nrc dot ca
2008-09-02 20:42 ` [Bug tree-optimization/37299] [4.4 Regression] " pinskia at gcc dot gnu dot org
2008-10-11 15:20 ` danglin at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: dave at hiauly1 dot hia dot nrc dot ca @ 2008-09-01 20:46 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dave at hiauly1 dot hia dot nrc dot ca 2008-09-01 20:44 -------
Subject: Re: libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain
error, in create_vop_ref_mapping_loopRO
> Sounds like stage2 is miscompiled then. Can you try the preprocessed source
> with
> the stage1 compiler and the same flags?
While I didn't specifically try with the preprocessed source, the stage1
compiler has no problem compiling the file with the same flags.
The miscompilation appears when IRA_COVER_CLASSES is defined.
Looking through the test results without it defined, it is a somewhat
surprising that this target builds at all. There are bitfield and many
problems in struct handling (both layout and argument passing). The
struct problems appear to have been introduced in late June.
Dave
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37299
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/37299] [4.4 Regression] libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519
2008-08-31 16:33 [Bug tree-optimization/37299] New: libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519 danglin at gcc dot gnu dot org
` (3 preceding siblings ...)
2008-09-01 20:46 ` dave at hiauly1 dot hia dot nrc dot ca
@ 2008-09-02 20:42 ` pinskia at gcc dot gnu dot org
2008-10-11 15:20 ` danglin at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-09-02 20:42 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Keywords| |build, wrong-code
Summary|libgcc2.c:806: ICE: vector |[4.4 Regression]
|VEC(me m_ref_p,base) index |libgcc2.c:806: ICE: vector
|domain error, in |VEC(me m_ref_p,base) index
|create_vop_ref_mapping_loop |domain error, in
|at tree-ssa-loop-im.c:1519 |create_vop_ref_mapping_loop
| |at tree-ssa-loop-im.c:1519
Target Milestone|--- |4.4.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37299
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/37299] [4.4 Regression] libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519
2008-08-31 16:33 [Bug tree-optimization/37299] New: libgcc2.c:806: ICE: vector VEC(me m_ref_p,base) index domain error, in create_vop_ref_mapping_loop at tree-ssa-loop-im.c:1519 danglin at gcc dot gnu dot org
` (4 preceding siblings ...)
2008-09-02 20:42 ` [Bug tree-optimization/37299] [4.4 Regression] " pinskia at gcc dot gnu dot org
@ 2008-10-11 15:20 ` danglin at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu dot org @ 2008-10-11 15:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from danglin at gcc dot gnu dot org 2008-10-11 15:18 -------
*** This bug has been marked as a duplicate of 37608 ***
--
danglin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37299
^ permalink raw reply [flat|nested] 7+ messages in thread