public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
@ 2004-09-13 11:21 micis at gmx dot de
  2004-09-13 12:32 ` [Bug tree-optimization/17454] " giovannibajo at libero dot it
                   ` (16 more replies)
  0 siblings, 17 replies; 18+ messages in thread
From: micis at gmx dot de @ 2004-09-13 11:21 UTC (permalink / raw)
  To: gcc-bugs

I downloaded the snapshot gcc-4.0-20040912.tar.bz2 and compiled it with:
../gcc40/configure --prefix=/usr/local/gcc40 --program-suffix=40
 --with-cpu=G5 --enable-altivec --enable-languages=c,c++
 --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac

I get following ICE:
/home/cie019/gcc40/obj/gcc/xgcc -B/home/cie019/gcc40/obj/gcc/
-B/usr/local/gcc40/powerpc-unknown-linux-gnu/bin/
-B/usr/local/gcc40/powerpc-unknown-linux-gnu/lib/ -isystem
/usr/local/gcc40/powerpc-unknown-linux-gnu/include -isystem
/usr/local/gcc40/powerpc-unknown-linux-gnu/sys-include -O2 -DIN_GCC    -W
-Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -I. -I. -I../../gcc40/gcc
-I../../gcc40/gcc/. -I../../gcc40/gcc/../include
-I../../gcc40/gcc/../libcpp/include   -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions -fno-zero-initialized-in-bss
-fno-unit-at-a-time -msdata=none \
   -c ../../gcc40/gcc/crtstuff.c -DCRT_BEGIN \
  -o crtbegin.o
<built-in>:0: internal compiler error: tree check: expected record_type or
union_type or qual_union_type, have integer_type in fold_checksum_tree, at
fold-const.c:9181
Please submit a full bug report,
with preprocessed source if appropriate.

when I configure with:
../gcc40/configure --prefix=/usr/local/gcc40 --program-suffix=40
 --with-cpu=G5 --enable-altivec --enable-languages=c,c++
 --enable-checking
compilation works fine.

Michael Cieslinski

-- 
           Summary: ICE with --enable-
                    checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: micis at gmx dot de
                CC: drow at false dot org,gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-linux-gnu
  GCC host triplet: powerpc-linux-gnu
GCC target triplet: powerpc-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
@ 2004-09-13 12:32 ` giovannibajo at libero dot it
  2004-09-13 12:53 ` drow at false dot org
                   ` (15 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-13 12:32 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-09-13 12:32 -------
Confirmed through double reports:
http://gcc.gnu.org/ml/gcc/2004-09/msg00712.html

Drow posted a patch, even though not on gcc-patches@.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-09-13 12:32:50
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
  2004-09-13 12:32 ` [Bug tree-optimization/17454] " giovannibajo at libero dot it
@ 2004-09-13 12:53 ` drow at false dot org
  2004-09-13 12:55 ` drow at gcc dot gnu dot org
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: drow at false dot org @ 2004-09-13 12:53 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From drow at false dot org  2004-09-13 12:53 -------
Subject: Re:  ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac

The patch is for a different problem unfortunately :-(


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
  2004-09-13 12:32 ` [Bug tree-optimization/17454] " giovannibajo at libero dot it
  2004-09-13 12:53 ` drow at false dot org
@ 2004-09-13 12:55 ` drow at gcc dot gnu dot org
  2004-09-13 13:04 ` [Bug tree-optimization/17454] [4.0 Regression] " giovannibajo at libero dot it
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: drow at gcc dot gnu dot org @ 2004-09-13 12:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From drow at gcc dot gnu dot org  2004-09-13 12:54 -------
Oops, I can't read.  Yes, I posted a patch for this.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |drow at gcc dot gnu dot org
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (2 preceding siblings ...)
  2004-09-13 12:55 ` drow at gcc dot gnu dot org
@ 2004-09-13 13:04 ` giovannibajo at libero dot it
  2004-09-13 16:23 ` pinskia at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: giovannibajo at libero dot it @ 2004-09-13 13:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From giovannibajo at libero dot it  2004-09-13 13:04 -------
And sorry, the patch *was* posted to gcc-patches:
http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01150.html

BTW, i dunno if this regression also applies to 3.4 or 3.3.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
      Known to fail|                            |4.0.0
            Summary|ICE with --enable-          |[4.0 Regression] ICE with --
                   |checking=assert,misc,tree,gc|enable-
                   |,rtl,rtlflag,fold,gcac      |checking=assert,misc,tree,gc
                   |                            |,rtl,rtlflag,fold,gcac
   Target Milestone|---                         |4.0.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (3 preceding siblings ...)
  2004-09-13 13:04 ` [Bug tree-optimization/17454] [4.0 Regression] " giovannibajo at libero dot it
@ 2004-09-13 16:23 ` pinskia at gcc dot gnu dot org
  2004-09-13 23:47 ` drow at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-09-13 16:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-09-13 16:23 -------
Hmm, I thought I had fixed one like this before ...

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (4 preceding siblings ...)
  2004-09-13 16:23 ` pinskia at gcc dot gnu dot org
@ 2004-09-13 23:47 ` drow at gcc dot gnu dot org
  2004-09-14 15:23 ` micis at gmx dot de
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: drow at gcc dot gnu dot org @ 2004-09-13 23:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From drow at gcc dot gnu dot org  2004-09-13 23:47 -------
Checked in.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (5 preceding siblings ...)
  2004-09-13 23:47 ` drow at gcc dot gnu dot org
@ 2004-09-14 15:23 ` micis at gmx dot de
  2004-09-15 12:08 ` micis at gmx dot de
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: micis at gmx dot de @ 2004-09-14 15:23 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From micis at gmx dot de  2004-09-14 15:22 -------
I applied the patch, now I get:

configure:4985: checking for exception model to use
configure:5029:  /home/cie019/gcc40/obj/gcc/xgcc -shared-libgcc -
B/home/cie019/gcc40/obj/gcc/ -nostdinc++ -L/home/cie019/gcc40/obj/powerpc-
unknown-linux-gnu/libstdc++-v3/src -L/home/cie019/gcc40/obj/powerpc-unknown-
linux-gnu/libstdc++-v3/src/.libs -B/usr/local/gcc40/powerpc-unknown-linux-
gnu/bin/ -B/usr/local/gcc40/powerpc-unknown-linux-gnu/lib/ -
isystem /usr/local/gcc40/powerpc-unknown-linux-gnu/include -
isystem /usr/local/gcc40/powerpc-unknown-linux-gnu/sys-include -c -S -O2 -g -O2 
conftest.cc >&5
configure: In function `void foo()':
configure:5022: internal compiler error: in cp_tree_size, at cp/cp-objcp-
common.c:112
Please submit a full bug report,
with preprocessed source if appropriate.

in libstdc++-v3/config.log



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (6 preceding siblings ...)
  2004-09-14 15:23 ` micis at gmx dot de
@ 2004-09-15 12:08 ` micis at gmx dot de
  2004-09-15 13:54 ` [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold micis at gmx dot de
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: micis at gmx dot de @ 2004-09-15 12:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From micis at gmx dot de  2004-09-15 12:07 -------
With the patch http://gcc.gnu.org/ml/gcc-patches/2004-09/msg01150.html
applied, I found that the configure option --enable-checking=fold causes the 
ICE compiling cp/cp-objcp-common.c

 /home/cie019/gcc40/obj/gcc/xgcc -shared-libgcc -B/home/cie019/gcc40/obj/gcc/ -
nostdinc++ -L/home/cie019/gcc40/obj/powerpc-unknown-linux-gnu/libstdc++-v3/src -
L/home/cie019/gcc40/obj/powerpc-unknown-linux-gnu/libstdc++-v3/src/.libs -
B/usr/local/gcc40/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc40/powerpc-
unknown-linux-gnu/lib/ -isystem /usr/local/gcc40/powerpc-unknown-linux-
gnu/include -isystem /usr/local/gcc40/powerpc-unknown-linux-gnu/sys-include -E 
conftest.cc
conftest.cc: In constructor `Foo::Foo()':
conftest.cc:4: internal compiler error: in cp_tree_size, at cp/cp-objcp-
common.c:112
Please submit a full bug report,
with preprocessed source if appropriate.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (7 preceding siblings ...)
  2004-09-15 12:08 ` micis at gmx dot de
@ 2004-09-15 13:54 ` micis at gmx dot de
  2004-11-27 20:36 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: micis at gmx dot de @ 2004-09-15 13:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From micis at gmx dot de  2004-09-15 13:54 -------
This ICE also occures on a i686 platform


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.0 Regression] ICE with --|[4.0 Regression] ICE with --
                   |enable-                     |enable-checking=fold
                   |checking=assert,misc,tree,gc|
                   |,rtl,rtlflag,fold,gcac      |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (8 preceding siblings ...)
  2004-09-15 13:54 ` [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold micis at gmx dot de
@ 2004-11-27 20:36 ` pinskia at gcc dot gnu dot org
  2004-11-29 10:46 ` micis at gmx dot de
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-27 20:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-27 20:36 -------
Can you try again?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (9 preceding siblings ...)
  2004-11-27 20:36 ` pinskia at gcc dot gnu dot org
@ 2004-11-29 10:46 ` micis at gmx dot de
  2005-01-28  6:31 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: micis at gmx dot de @ 2004-11-29 10:46 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From micis at gmx dot de  2004-11-29 10:46 -------
I have checked it again on ppc and x86_64, it still fails on both systems.

On ppc I get:
stage1/xgcc -Bstage1/ -B/usr/local/gcc40b/powerpc-unknown-linux-gnu/bin/ -c
-g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-
definition -Werror -DHAVE_CONFIG_H    -I. -I. -I../../gcc40/gcc
-I../../gcc40/gcc/. -I../../gcc40/gcc/../include
-I../../gcc40/gcc/../libcpp/include  ../../gcc40/gcc/profile.c -o profile.o
xgcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.

On x86_64 it fails with somthing like "unable to detect exception model"

Michael Cieslinski


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (10 preceding siblings ...)
  2004-11-29 10:46 ` micis at gmx dot de
@ 2005-01-28  6:31 ` pinskia at gcc dot gnu dot org
  2005-01-31 12:06 ` micis at gmx dot de
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-28  6:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-28 06:31 -------
I could not reproduce this on powerpc-darwin, could you try again?

This might be a stack overflow but I don't know.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (11 preceding siblings ...)
  2005-01-28  6:31 ` pinskia at gcc dot gnu dot org
@ 2005-01-31 12:06 ` micis at gmx dot de
  2005-03-16  2:20 ` [Bug tree-optimization/17454] [4.0/4.1 " cvs-commit at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: micis at gmx dot de @ 2005-01-31 12:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From micis at gmx dot de  2005-01-31 12:06 -------
I have rechecked it at x86_64.
It occurs only with configure/make bootstrap, not with configure make.

Actual error is:

stage1/xgcc -Bstage1/ -B/usr/local/gcc40c/x86_64-unknown-linux-gnu/bin/ -c   -
g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-
prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-
definition -Werror    -DHAVE_CONFIG_H    -I. -I. -I../../gcc40/gcc -
I../../gcc40/gcc/. -I../../gcc40/gcc/../include -
I../../gcc40/gcc/../libcpp/include  ../../gcc40/gcc/dbxout.c -o dbxout.o
../../gcc40/gcc/dbxout.c: In function 'dbxout_int':
../../gcc40/gcc/dbxout.c:429: internal compiler error: fold check: original 
tree changed by fold
Please submit a full bug report, with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [dbxout.o] Error 1
make[2]: Leaving directory `/home/cie019/gcc40c/obj/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/home/cie019/gcc40c/obj/gcc'
make: *** [bootstrap] Error 2

I will check it on ppc later

Michael Cieslinski


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0/4.1 Regression] ICE with --enable-checking=fold
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (12 preceding siblings ...)
  2005-01-31 12:06 ` micis at gmx dot de
@ 2005-03-16  2:20 ` cvs-commit at gcc dot gnu dot org
  2005-03-16  2:51 ` [Bug tree-optimization/17454] [4.0 " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  16 siblings, 0 replies; 18+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-16  2:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-16 02:20 -------
Subject: Bug 17454

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	sayle@gcc.gnu.org	2005-03-16 02:20:08

Modified files:
	gcc            : ChangeLog tree.c fold-const.c 

Log message:
	PR tree-optimization/17454
	* tree.c (tree_size): Add case for TREE_BINFO.
	* fold-const.c (fold_checksum_tree): Only clear the overloaded
	field TYPE_CACHED_VALUES if TYPE_CACHED_VALUES_P is set.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7865&r2=2.7866
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&r1=1.468&r2=1.469
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&r1=1.542&r2=1.543



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (13 preceding siblings ...)
  2005-03-16  2:20 ` [Bug tree-optimization/17454] [4.0/4.1 " cvs-commit at gcc dot gnu dot org
@ 2005-03-16  2:51 ` pinskia at gcc dot gnu dot org
  2005-03-16 14:36 ` cvs-commit at gcc dot gnu dot org
  2005-03-16 14:54 ` pinskia at gcc dot gnu dot org
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16  2:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-16 02:51 -------
Fixed at least on the mainline, waiting for Roger to commit it the 4.0 branch after he finishes testing 
the patch which fixes this.

Patch here: <http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01517.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|drow at gcc dot gnu dot org |unassigned at gcc dot gnu
                   |                            |dot org
             Status|REOPENED                    |NEW
           Keywords|                            |build, patch
            Summary|[4.0/4.1 Regression] ICE    |[4.0 Regression] ICE with --
                   |with --enable-checking=fold |enable-checking=fold


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (14 preceding siblings ...)
  2005-03-16  2:51 ` [Bug tree-optimization/17454] [4.0 " pinskia at gcc dot gnu dot org
@ 2005-03-16 14:36 ` cvs-commit at gcc dot gnu dot org
  2005-03-16 14:54 ` pinskia at gcc dot gnu dot org
  16 siblings, 0 replies; 18+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-03-16 14:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-03-16 14:33 -------
Subject: Bug 17454

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-4_0-branch
Changes by:	sayle@gcc.gnu.org	2005-03-16 14:29:12

Modified files:
	gcc            : ChangeLog tree.c fold-const.c 

Log message:
	PR tree-optimization/17454
	* tree.c (tree_size): Add case for TREE_BINFO.
	* fold-const.c (fold_checksum_tree): Only clear the overloaded
	field TYPE_CACHED_VALUES if TYPE_CACHED_VALUES_P is set.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.54&r2=2.7592.2.55
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/tree.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.466.4.1&r2=1.466.4.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/fold-const.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.517.2.1&r2=1.517.2.2



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

* [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold
  2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
                   ` (15 preceding siblings ...)
  2005-03-16 14:36 ` cvs-commit at gcc dot gnu dot org
@ 2005-03-16 14:54 ` pinskia at gcc dot gnu dot org
  16 siblings, 0 replies; 18+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-03-16 14:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-03-16 14:53 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17454


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2005-03-16 14:54 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-13 11:21 [Bug tree-optimization/17454] New: ICE with --enable-checking=assert,misc,tree,gc,rtl,rtlflag,fold,gcac micis at gmx dot de
2004-09-13 12:32 ` [Bug tree-optimization/17454] " giovannibajo at libero dot it
2004-09-13 12:53 ` drow at false dot org
2004-09-13 12:55 ` drow at gcc dot gnu dot org
2004-09-13 13:04 ` [Bug tree-optimization/17454] [4.0 Regression] " giovannibajo at libero dot it
2004-09-13 16:23 ` pinskia at gcc dot gnu dot org
2004-09-13 23:47 ` drow at gcc dot gnu dot org
2004-09-14 15:23 ` micis at gmx dot de
2004-09-15 12:08 ` micis at gmx dot de
2004-09-15 13:54 ` [Bug tree-optimization/17454] [4.0 Regression] ICE with --enable-checking=fold micis at gmx dot de
2004-11-27 20:36 ` pinskia at gcc dot gnu dot org
2004-11-29 10:46 ` micis at gmx dot de
2005-01-28  6:31 ` pinskia at gcc dot gnu dot org
2005-01-31 12:06 ` micis at gmx dot de
2005-03-16  2:20 ` [Bug tree-optimization/17454] [4.0/4.1 " cvs-commit at gcc dot gnu dot org
2005-03-16  2:51 ` [Bug tree-optimization/17454] [4.0 " pinskia at gcc dot gnu dot org
2005-03-16 14:36 ` cvs-commit at gcc dot gnu dot org
2005-03-16 14:54 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).