* [Bug c++/12519] internal compiler error: tree check: in genrtl_cleanup_stmt, at c-semantics.c:761
2003-10-05 17:42 [Bug c++/12519] New: internal compiler error: tree check: in genrtl_cleanup_stmt, at c-semantics.c:761 olh at suse dot de
@ 2003-10-05 17:44 ` olh at suse dot de
2003-10-05 19:40 ` [Bug c++/12519] [3.4 regression] ICE " reichelt at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: olh at suse dot de @ 2003-10-05 17:44 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12519
------- Additional Comments From olh at suse dot de 2003-10-05 17:44 -------
Created an attachment (id=4892)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4892&action=view)
pr12519.tar.bz2
qdatetime.ii
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/12519] [3.4 regression] ICE tree check: in genrtl_cleanup_stmt, at c-semantics.c:761
2003-10-05 17:42 [Bug c++/12519] New: internal compiler error: tree check: in genrtl_cleanup_stmt, at c-semantics.c:761 olh at suse dot de
2003-10-05 17:44 ` [Bug c++/12519] " olh at suse dot de
@ 2003-10-05 19:40 ` reichelt at gcc dot gnu dot org
2003-10-06 18:27 ` janis187 at us dot ibm dot com
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-10-05 19:40 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12519
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC build triplet|powerpc-unknown-linux |
GCC host triplet|powerpc-unknown-linux |
GCC target triplet|powerpc-unknown-linux |
Keywords| |ice-on-valid-code
Priority|P2 |P1
Last reconfirmed|0000-00-00 00:00:00 |2003-10-05 19:40:44
date| |
Summary|internal compiler error: |[3.4 regression] ICE tree
|tree check: in |check: in
|genrtl_cleanup_stmt, at c- |genrtl_cleanup_stmt, at c-
|semantics.c:761 |semantics.c:761
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-10-05 19:40 -------
Here's a reduced code snippet that crashes on i686-pc-linux-gnu:
when compiled with "-O":
======================================
struct A
{
~A();
};
inline const A foo()
{
A a;
return a;
}
A bar()
{
return foo();
}
======================================
This seems to be a problem with the const qualifier.
I'm removing the target/build/host-triples since this seems
to be a generic problem.
It's a regression that was introduced in August according to Phil's
regression hunter:
: Search converges between 2003-08-20-trunk (#378) and 2003-08-21-trunk (#379).
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/12519] [3.4 regression] ICE tree check: in genrtl_cleanup_stmt, at c-semantics.c:761
2003-10-05 17:42 [Bug c++/12519] New: internal compiler error: tree check: in genrtl_cleanup_stmt, at c-semantics.c:761 olh at suse dot de
2003-10-05 17:44 ` [Bug c++/12519] " olh at suse dot de
2003-10-05 19:40 ` [Bug c++/12519] [3.4 regression] ICE " reichelt at gcc dot gnu dot org
@ 2003-10-06 18:27 ` janis187 at us dot ibm dot com
2003-10-07 19:14 ` jason at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: janis187 at us dot ibm dot com @ 2003-10-06 18:27 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12519
janis187 at us dot ibm dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com
------- Additional Comments From janis187 at us dot ibm dot com 2003-10-06 18:27 -------
The regression in PR 12519 was introduced or exposed by this patch:
--- gcc/gcc/cp/ChangeLog ---
2003-08-20 Jason Merrill <jason@redhat.com>
* semantics.c (simplify_aggr_init_expr): Split out from
simplify_aggr_init_exprs_r. Convert slot address to match
the return type.
* cp-tree.h: Declare it.
* tree.c (cp_copy_res_decl_for_inlining): Don't clobber the
DECL_NAME of a user variable.
The regression hunt took place on i686-pc-linux-gnu using the small
test case from comment #2 compiled with -O2.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/12519] [3.4 regression] ICE tree check: in genrtl_cleanup_stmt, at c-semantics.c:761
2003-10-05 17:42 [Bug c++/12519] New: internal compiler error: tree check: in genrtl_cleanup_stmt, at c-semantics.c:761 olh at suse dot de
` (2 preceding siblings ...)
2003-10-06 18:27 ` janis187 at us dot ibm dot com
@ 2003-10-07 19:14 ` jason at gcc dot gnu dot org
2003-10-07 22:09 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2003-10-07 19:14 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12519
jason at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/12519] [3.4 regression] ICE tree check: in genrtl_cleanup_stmt, at c-semantics.c:761
2003-10-05 17:42 [Bug c++/12519] New: internal compiler error: tree check: in genrtl_cleanup_stmt, at c-semantics.c:761 olh at suse dot de
` (3 preceding siblings ...)
2003-10-07 19:14 ` jason at gcc dot gnu dot org
@ 2003-10-07 22:09 ` cvs-commit at gcc dot gnu dot org
2003-10-07 22:10 ` cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-07 22:09 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12519
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-10-07 22:09 -------
Subject: Bug 12519
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2003-10-07 22:09:42
Added files:
gcc/testsuite/g++.dg/opt: inline5.C
Log message:
PR c++/12519
* c-semantics.c (genrtl_cleanup_stmt): Ignore the CLEANUP_DECL if
it isn't a decl.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/inline5.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/12519] [3.4 regression] ICE tree check: in genrtl_cleanup_stmt, at c-semantics.c:761
2003-10-05 17:42 [Bug c++/12519] New: internal compiler error: tree check: in genrtl_cleanup_stmt, at c-semantics.c:761 olh at suse dot de
` (4 preceding siblings ...)
2003-10-07 22:09 ` cvs-commit at gcc dot gnu dot org
@ 2003-10-07 22:10 ` cvs-commit at gcc dot gnu dot org
2003-10-07 22:40 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-10-07 22:10 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12519
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2003-10-07 22:10 -------
Subject: Bug 12519
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2003-10-07 22:10:38
Modified files:
gcc : ChangeLog c-semantics.c
Log message:
PR c++/12519
* c-semantics.c (genrtl_cleanup_stmt): Ignore the CLEANUP_DECL if
it isn't a decl.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1329&r2=2.1330
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/c-semantics.c.diff?cvsroot=gcc&r1=1.72&r2=1.73
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/12519] [3.4 regression] ICE tree check: in genrtl_cleanup_stmt, at c-semantics.c:761
2003-10-05 17:42 [Bug c++/12519] New: internal compiler error: tree check: in genrtl_cleanup_stmt, at c-semantics.c:761 olh at suse dot de
` (5 preceding siblings ...)
2003-10-07 22:10 ` cvs-commit at gcc dot gnu dot org
@ 2003-10-07 22:40 ` pinskia at gcc dot gnu dot org
2003-10-08 14:00 ` reichelt at gcc dot gnu dot org
2003-10-08 14:02 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-10-07 22:40 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12519
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-10-07 22:40 -------
Fixed for 3.4.
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/12519] [3.4 regression] ICE tree check: in genrtl_cleanup_stmt, at c-semantics.c:761
2003-10-05 17:42 [Bug c++/12519] New: internal compiler error: tree check: in genrtl_cleanup_stmt, at c-semantics.c:761 olh at suse dot de
` (6 preceding siblings ...)
2003-10-07 22:40 ` pinskia at gcc dot gnu dot org
@ 2003-10-08 14:00 ` reichelt at gcc dot gnu dot org
2003-10-08 14:02 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-10-08 14:00 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12519
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jss at ast dot cam dot ac
| |dot uk
------- Additional Comments From reichelt at gcc dot gnu dot org 2003-10-08 14:00 -------
*** Bug 12040 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/12519] [3.4 regression] ICE tree check: in genrtl_cleanup_stmt, at c-semantics.c:761
2003-10-05 17:42 [Bug c++/12519] New: internal compiler error: tree check: in genrtl_cleanup_stmt, at c-semantics.c:761 olh at suse dot de
` (7 preceding siblings ...)
2003-10-08 14:00 ` reichelt at gcc dot gnu dot org
@ 2003-10-08 14:02 ` reichelt at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2003-10-08 14:02 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12519
reichelt at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.4
^ permalink raw reply [flat|nested] 10+ messages in thread