* [Bug rtl-optimization/18224] [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
2004-10-29 18:03 [Bug bootstrap/18224] New: Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391 gcc-bugzilla at gcc dot gnu dot org
@ 2004-10-29 18:07 ` pinskia at gcc dot gnu dot org
2004-10-29 18:18 ` ro at techfak dot uni-bielefeld dot de
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-29 18:07 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-29 18:07 -------
Can you attach the preprocessed source (the difference between solaris 8 and solaris 10 might be the
headers are different).
--
What |Removed |Added
----------------------------------------------------------------------------
Component|bootstrap |rtl-optimization
Keywords| |build, ice-on-valid-code
Summary|Bootstrap failure on Solaris|[4.0 Regression] Bootstrap
|10/SPARC: ICE in |failure on Solaris 10/SPARC:
|reload_cse_simplify_operands|ICE in
|, at postreload.c:391 |reload_cse_simplify_operands
| |, at postreload.c:391
Target Milestone|--- |4.0.0
Version|0.0 |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18224
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/18224] [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
2004-10-29 18:03 [Bug bootstrap/18224] New: Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391 gcc-bugzilla at gcc dot gnu dot org
2004-10-29 18:07 ` [Bug rtl-optimization/18224] [4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2004-10-29 18:18 ` ro at techfak dot uni-bielefeld dot de
2004-10-29 18:27 ` ebotcazou at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2004-10-29 18:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2004-10-29 18:18 -------
Subject: Re: [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
pinskia at gcc dot gnu dot org writes:
> Can you attach the preprocessed source (the difference between solaris 8 and solaris 10 might be the
> headers are different).
I just tried to reproduce the ICE with the stage3 compiler (I had removed
the stage1 and stage2 directories already to free some space), but failed:
the file compiles without problems!?
I've no idea what's going on here. I'll try again with current mainline.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18224
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/18224] [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
2004-10-29 18:03 [Bug bootstrap/18224] New: Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391 gcc-bugzilla at gcc dot gnu dot org
2004-10-29 18:07 ` [Bug rtl-optimization/18224] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-29 18:18 ` ro at techfak dot uni-bielefeld dot de
@ 2004-10-29 18:27 ` ebotcazou at gcc dot gnu dot org
2004-11-06 21:00 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-10-29 18:27 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18224
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/18224] [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
2004-10-29 18:03 [Bug bootstrap/18224] New: Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391 gcc-bugzilla at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-10-29 18:27 ` ebotcazou at gcc dot gnu dot org
@ 2004-11-06 21:00 ` ebotcazou at gcc dot gnu dot org
2004-11-08 14:15 ` ro at techfak dot uni-bielefeld dot de
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-06 21:00 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-11-06 21:00 -------
Rainer, any news on this?
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18224
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/18224] [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
2004-10-29 18:03 [Bug bootstrap/18224] New: Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391 gcc-bugzilla at gcc dot gnu dot org
` (3 preceding siblings ...)
2004-11-06 21:00 ` ebotcazou at gcc dot gnu dot org
@ 2004-11-08 14:15 ` ro at techfak dot uni-bielefeld dot de
2004-11-08 14:35 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2004-11-08 14:15 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2004-11-08 14:14 -------
Subject: Re: [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
ebotcazou at gcc dot gnu dot org writes:
> Rainer, any news on this?
I've used the following patch to successfully bootstrap on
sparc-sun-solaris2.10 with Sun Studio 8 cc:
Fri Oct 29 19:44:19 2004 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
PR rtl-optimization/18224
* Makefile.in (BUILD_SUPPORT): Add bitmap.o, vec.o.
(genobjnames): Likewise.
(build/bitmap.o, build/vec.o): New targets.
* ggc-none.c (ggc_free): Define.
Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1418
diff -u -p -r1.1418 Makefile.in
--- gcc/Makefile.in 5 Nov 2004 04:49:05 -0000 1.1418
+++ gcc/Makefile.in 5 Nov 2004 17:55:46 -0000
@@ -776,7 +778,8 @@ BUILD_LIBS = $(BUILD_LIBIBERTY)
BUILD_RTL = build/rtl.o build/read-rtl.o build/ggc-none.o \
build/min-insn-modes.o
-BUILD_SUPPORT = build/gensupport.o build/insn-conditions.o
+BUILD_SUPPORT = build/gensupport.o build/insn-conditions.o build/bitmap.o \
+ build/vec.o
BUILD_EARLY_SUPPORT = build/gensupport.o build/dummy-conditions.o
BUILD_PRINT = build/print-rtl.o
@@ -2498,7 +2501,7 @@ genobjnames=$(genprognames:%=%.o) read-r
genconstants.o gen-protos.o scan.o fix-header.o scan-decls.o \
gencheck.o dummy-conditions.o genconditions.o errors.o ggc-none.o \
min-insn-modes.o rtl.o print-rtl.o varray.o gcov-iov.o \
- insn-conditions.o gengtype-lex.o gengtype-yacc.o
+ insn-conditions.o gengtype-lex.o gengtype-yacc.o bitmap.o vec.o
genobjs=$(genobjnames:%=build/%)
@@ -2626,6 +2629,9 @@ build/genconditions$(build_exeext) : bui
build/genconditions.o : genconditions.c $(RTL_BASE_H) $(BCONFIG_H) \
$(SYSTEM_H) coretypes.h $(GTM_H) errors.h
+build/bitmap.o : bitmap.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GTM_H) \
+ $(RTL_H) $(FLAGS_H) $(BASIC_BLOCK_H) $(REGS_H) $(GGC_H)
+build/bitmap.o:
build/errors.o : errors.c $(BCONFIG_H) $(SYSTEM_H) errors.h
build/ggc-none.o : ggc-none.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GGC_H)
build/min-insn-modes.o : min-insn-modes.c $(BCONFIG_H) system.h $(MACHMODE_H)
@@ -2635,6 +2641,8 @@ build/print-rtl.o: print-rtl.c $(BCONFIG
$(RTL_BASE_H)
build/varray.o: varray.c $(BCONFIG_H) coretypes.h $(GTM_H) $(SYSTEM_H) \
varray.h $(RTL_BASE_H) $(GGC_H) $(TREE_H) bitmap.h errors.h
+build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) $(TREE_H) coretypes.h vec.h \
+ $(GGC_H) errors.h
#\f
# Remake internationalization support.
Index: gcc/ggc-none.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ggc-none.c,v
retrieving revision 1.20
diff -u -p -r1.20 ggc-none.c
--- gcc/ggc-none.c 11 Sep 2004 19:03:23 -0000 1.20
+++ gcc/ggc-none.c 5 Nov 2004 17:55:54 -0000
@@ -67,3 +67,9 @@ ggc_realloc_stat (void *x, size_t size M
{
return xrealloc (x, size);
}
+
+void
+ggc_free (void *p)
+{
+ free (p);
+}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18224
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/18224] [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
2004-10-29 18:03 [Bug bootstrap/18224] New: Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391 gcc-bugzilla at gcc dot gnu dot org
` (4 preceding siblings ...)
2004-11-08 14:15 ` ro at techfak dot uni-bielefeld dot de
@ 2004-11-08 14:35 ` ebotcazou at gcc dot gnu dot org
2004-11-08 14:39 ` ro at techfak dot uni-bielefeld dot de
2004-11-08 17:30 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-08 14:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-11-08 14:34 -------
> I've used the following patch to successfully bootstrap on
> sparc-sun-solaris2.10 with Sun Studio 8 cc:
>
> Fri Oct 29 19:44:19 2004 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
>
> PR rtl-optimization/18224
> * Makefile.in (BUILD_SUPPORT): Add bitmap.o, vec.o.
> (genobjnames): Likewise.
> (build/bitmap.o, build/vec.o): New targets.
> * ggc-none.c (ggc_free): Define.
Great! But it's the wrong PR. PR rtl-optimization/18224 is an ICE during
postreload. The bootstrap pb with Sun CC is PR bootstrap/18058.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18224
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/18224] [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
2004-10-29 18:03 [Bug bootstrap/18224] New: Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391 gcc-bugzilla at gcc dot gnu dot org
` (5 preceding siblings ...)
2004-11-08 14:35 ` ebotcazou at gcc dot gnu dot org
@ 2004-11-08 14:39 ` ro at techfak dot uni-bielefeld dot de
2004-11-08 17:30 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2004-11-08 14:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ro at techfak dot uni-bielefeld dot de 2004-11-08 14:39 -------
Subject: Re: [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
ebotcazou at gcc dot gnu dot org writes:
> Great! But it's the wrong PR. PR rtl-optimization/18224 is an ICE during
> postreload. The bootstrap pb with Sun CC is PR bootstrap/18058.
Drat; too many bugs at once :-)
I could successfully bootstrap mainline on sparc-sun-solaris2.10 with gcc
on 20041029, so the problem seems to be either gone or masked.
I haven't tried a full bootstrap since, but I suppose the PR can be closed.
Rainer
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18224
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug rtl-optimization/18224] [4.0 Regression] Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391
2004-10-29 18:03 [Bug bootstrap/18224] New: Bootstrap failure on Solaris 10/SPARC: ICE in reload_cse_simplify_operands, at postreload.c:391 gcc-bugzilla at gcc dot gnu dot org
` (6 preceding siblings ...)
2004-11-08 14:39 ` ro at techfak dot uni-bielefeld dot de
@ 2004-11-08 17:30 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-08 17:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2004-11-08 17:30 -------
Not reproducible anymore.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18224
^ permalink raw reply [flat|nested] 9+ messages in thread