public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/16851] New: ICE
@ 2004-08-01 23:52 igodard at pacbell dot net
2004-08-01 23:53 ` [Bug c++/16851] ICE igodard at pacbell dot net
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: igodard at pacbell dot net @ 2004-08-01 23:52 UTC (permalink / raw)
To: gcc-bugs
--
Summary: ICE
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: igodard at pacbell dot net
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] ICE
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
@ 2004-08-01 23:53 ` igodard at pacbell dot net
2004-08-01 23:55 ` igodard at pacbell dot net
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: igodard at pacbell dot net @ 2004-08-01 23:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From igodard at pacbell dot net 2004-08-01 23:53 -------
Created an attachment (id=6862)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6862&action=view)
Compiler output (-v -save-temps)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] ICE
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
2004-08-01 23:53 ` [Bug c++/16851] ICE igodard at pacbell dot net
@ 2004-08-01 23:55 ` igodard at pacbell dot net
2004-08-02 0:05 ` [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing pinskia at gcc dot gnu dot org
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: igodard at pacbell dot net @ 2004-08-01 23:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From igodard at pacbell dot net 2004-08-01 23:55 -------
Created an attachment (id=6863)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=6863&action=view)
Source code (-save-temps)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
` (2 preceding siblings ...)
2004-08-02 0:05 ` [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing pinskia at gcc dot gnu dot org
@ 2004-08-02 0:05 ` pinskia at gcc dot gnu dot org
2004-08-02 0:11 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-02 0:05 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-02 00:05 -------
Confirmed, reduced testcase:
struct A
{ A(int); };
void xd(int t) {
throw(3,A(t)) ;
}
Related to PR 16338.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
BugsThisDependsOn| |16338
Keywords| |ice-on-valid-code
Known to fail| |3.4.0 3.5.0
Known to work| |3.3.3
Summary|ICE |[3.4/3.5 Regression] ICE
| |when throwing
Target Milestone|--- |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
2004-08-01 23:53 ` [Bug c++/16851] ICE igodard at pacbell dot net
2004-08-01 23:55 ` igodard at pacbell dot net
@ 2004-08-02 0:05 ` pinskia at gcc dot gnu dot org
2004-08-02 0:05 ` pinskia at gcc dot gnu dot org
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-02 0:05 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-08-02 00:05:22
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
` (3 preceding siblings ...)
2004-08-02 0:05 ` pinskia at gcc dot gnu dot org
@ 2004-08-02 0:11 ` pinskia at gcc dot gnu dot org
2004-08-02 0:14 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-02 0:11 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-02 00:11 -------
: Search converges between 2004-05-11-trunk (#454) and 2004-05-14-trunk (#455).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
` (4 preceding siblings ...)
2004-08-02 0:11 ` pinskia at gcc dot gnu dot org
@ 2004-08-02 0:14 ` pinskia at gcc dot gnu dot org
2004-08-17 21:08 ` [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing a comma expression mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-02 0:14 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-02 00:14 -------
This one is the one with respect that a COMPOUND_EXPR comes into play:
<compound_expr 0x415c8438
type <void_type 0x415d4f80 void VOID
align 8 symtab 0 alias set -1
pointer_to_this <pointer_type 0x415d5000>>
side-effects
arg 0 <convert_expr 0x41758cc0 type <void_type 0x415d4f80 void>
constant invariant
arg 0 <integer_cst 0x41758be0 constant invariant 3>>
arg 1 <aggr_init_expr 0x415c8410 type <void_type 0x415d4f80 void>
side-effects tree_0
arg 0 <addr_expr 0x41758ca0 type <pointer_type 0x41797800>
constant invariant arg 0 <function_decl 0x41793900 __comp_ctor>>
arg 1 <tree_list 0x41795618
value <integer_cst 0x41758c00 constant invariant 0>
chain <tree_list 0x41795630 value <parm_decl 0x41793d00 t>>>
arg 2 <var_decl 0x41797900 type <record_type 0x41793200 A>
addressable QI file t.cc line 5
size <integer_cst 0x415c7d00 constant invariant 8>
unit size <integer_cst 0x415c7ca0 constant invariant 1>
align 8 context <function_decl 0x41793e00 xd>>>>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing a comma expression
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
` (5 preceding siblings ...)
2004-08-02 0:14 ` pinskia at gcc dot gnu dot org
@ 2004-08-17 21:08 ` mmitchel at gcc dot gnu dot org
2004-08-25 5:33 ` cvs-commit at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-08-17 21:08 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-08-17 21:08 -------
Jason, this is another problem with stabilize_init and friends, so I've assigned
this to you.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jason at redhat dot com
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing a comma expression
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
` (6 preceding siblings ...)
2004-08-17 21:08 ` [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing a comma expression mmitchel at gcc dot gnu dot org
@ 2004-08-25 5:33 ` cvs-commit at gcc dot gnu dot org
2004-08-25 6:35 ` [Bug c++/16851] [3.5 " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-25 5:33 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-25 05:33 -------
Subject: Bug 16851
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: jason@gcc.gnu.org 2004-08-25 05:33:03
Modified files:
gcc/cp : ChangeLog tree.c semantics.c
Log message:
PR c++/16851
* tree.c (stabilize_init): See through a COMPOUND_EXPR.
PR c++/15461
* semantics.c (nullify_returns_r): Replace a DECL_STMT
for the NRV with an INIT_EXPR.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.3892.2.152&r2=1.3892.2.153
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.360.4.8&r2=1.360.4.9
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/semantics.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.381.4.13&r2=1.381.4.14
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] [3.5 Regression] ICE when throwing a comma expression
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
` (7 preceding siblings ...)
2004-08-25 5:33 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-25 6:35 ` pinskia at gcc dot gnu dot org
2004-08-28 2:35 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-25 6:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-25 06:35 -------
Fixed so far on the 3.4 branch.
--
What |Removed |Added
----------------------------------------------------------------------------
Known to work|3.3.3 |3.3.3 3.4.2
Summary|[3.4/3.5 Regression] ICE |[3.5 Regression] ICE when
|when throwing a comma |throwing a comma expression
|expression |
Target Milestone|3.4.2 |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] [3.5 Regression] ICE when throwing a comma expression
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
` (8 preceding siblings ...)
2004-08-25 6:35 ` [Bug c++/16851] [3.5 " pinskia at gcc dot gnu dot org
@ 2004-08-28 2:35 ` cvs-commit at gcc dot gnu dot org
2004-08-28 10:17 ` [Bug c++/16851] [3.5/3.4 " pinskia at gcc dot gnu dot org
2005-01-18 12:27 ` reichelt at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-08-28 2:35 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-08-28 02:35 -------
Subject: Bug 16851
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2004-08-28 02:35:15
Modified files:
gcc/cp : tree.c ChangeLog
Added files:
gcc/testsuite/g++.dg/eh: throw2.C
Log message:
PR c++/16851
* tree.c (stabilize_init): See through a COMPOUND_EXPR.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&r1=1.407&r2=1.408
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4314&r2=1.4315
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/eh/throw2.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] [3.5/3.4 Regression] ICE when throwing a comma expression
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
` (9 preceding siblings ...)
2004-08-28 2:35 ` cvs-commit at gcc dot gnu dot org
@ 2004-08-28 10:17 ` pinskia at gcc dot gnu dot org
2005-01-18 12:27 ` reichelt at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-28 10:17 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-28 10:17 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|[3.5 Regression] ICE when |[3.5/3.4 Regression] ICE
|throwing a comma expression |when throwing a comma
| |expression
Target Milestone|3.5.0 |3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug c++/16851] [3.5/3.4 Regression] ICE when throwing a comma expression
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
` (10 preceding siblings ...)
2004-08-28 10:17 ` [Bug c++/16851] [3.5/3.4 " pinskia at gcc dot gnu dot org
@ 2005-01-18 12:27 ` reichelt at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-01-18 12:27 UTC (permalink / raw)
To: gcc-bugs
--
Bug 16851 depends on bug 16338, which changed state.
Bug 16338 Summary: [3.4/4.0 Regression] ICE when throwing a compound literal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16338
What |Old Value |New Value
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16851
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2005-01-18 12:27 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-01 23:52 [Bug c++/16851] New: ICE igodard at pacbell dot net
2004-08-01 23:53 ` [Bug c++/16851] ICE igodard at pacbell dot net
2004-08-01 23:55 ` igodard at pacbell dot net
2004-08-02 0:05 ` [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing pinskia at gcc dot gnu dot org
2004-08-02 0:05 ` pinskia at gcc dot gnu dot org
2004-08-02 0:11 ` pinskia at gcc dot gnu dot org
2004-08-02 0:14 ` pinskia at gcc dot gnu dot org
2004-08-17 21:08 ` [Bug c++/16851] [3.4/3.5 Regression] ICE when throwing a comma expression mmitchel at gcc dot gnu dot org
2004-08-25 5:33 ` cvs-commit at gcc dot gnu dot org
2004-08-25 6:35 ` [Bug c++/16851] [3.5 " pinskia at gcc dot gnu dot org
2004-08-28 2:35 ` cvs-commit at gcc dot gnu dot org
2004-08-28 10:17 ` [Bug c++/16851] [3.5/3.4 " pinskia at gcc dot gnu dot org
2005-01-18 12:27 ` reichelt 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).