public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/19312] New: ICE in stabilize_call
@ 2005-01-07 14:23 jakub at gcc dot gnu dot org
2005-01-07 14:28 ` [Bug c++/19312] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
` (8 more replies)
0 siblings, 9 replies; 10+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-01-07 14:23 UTC (permalink / raw)
To: gcc-bugs
template <class T, class A>
struct C
{
static T *foo (A x) { return new T ((T) x); }
};
class A {};
A *bar ()
{
A a;
return C<A, A>::foo (a);
}
ICEs on gcc-3_4-branch and on HEAD, works with GCC 3.2.3.
--
Summary: ICE in stabilize_call
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19312
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/19312] [3.4/4.0 Regression] ICE in stabilize_call
2005-01-07 14:23 [Bug c++/19312] New: ICE in stabilize_call jakub at gcc dot gnu dot org
@ 2005-01-07 14:28 ` pinskia at gcc dot gnu dot org
2005-01-08 22:50 ` pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-07 14:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-07 14:27 -------
Confirmed here is another testcase for the same ICE:
template <class T, class A>
T *foo (A x)
{
throw ((T) x);
}
class A {};
A *bar ()
{
A a;
return foo<A,A> (a);
}
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |ice-on-valid-code
Known to fail| |3.4.0 4.0.0
Known to work| |3.3.2
Last reconfirmed|0000-00-00 00:00:00 |2005-01-07 14:27:55
date| |
Summary|ICE in stabilize_call |[3.4/4.0 Regression] ICE in
| |stabilize_call
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19312
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/19312] [3.4/4.0 Regression] ICE in stabilize_call
2005-01-07 14:23 [Bug c++/19312] New: ICE in stabilize_call jakub at gcc dot gnu dot org
2005-01-07 14:28 ` [Bug c++/19312] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
@ 2005-01-08 22:50 ` pinskia at gcc dot gnu dot org
2005-01-18 12:25 ` [Bug c++/19312] [3.4/4.0 Regression] ICE in stabilize_call when throwing a copy reichelt at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-08 22:50 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-01-08 22:50 -------
: Search converges between 2004-05-11-trunk (#454) and 2004-05-14-trunk (#455).
: Search converges between 2004-03-01-3.4 (#2) and 2004-03-15-3.4 (#3).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19312
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/19312] [3.4/4.0 Regression] ICE in stabilize_call when throwing a copy
2005-01-07 14:23 [Bug c++/19312] New: ICE in stabilize_call jakub at gcc dot gnu dot org
2005-01-07 14:28 ` [Bug c++/19312] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-08 22:50 ` pinskia at gcc dot gnu dot org
@ 2005-01-18 12:25 ` reichelt at gcc dot gnu dot org
2005-01-18 12:26 ` reichelt at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-01-18 12:25 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-01-18 12:24 -------
Further reduced testcase.
===================
struct A {};
void foo(A a)
{
throw (A)a;
}
===================
This is similar to the testcase from PR 16338:
===================
struct A
{
int i;
};
void foo()
{
throw (A){0};
}
===================
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Keywords| |monitored
Summary|[3.4/4.0 Regression] ICE in |[3.4/4.0 Regression] ICE in
|stabilize_call |stabilize_call when throwing
| |a copy
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19312
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/19312] [3.4/4.0 Regression] ICE in stabilize_call when throwing a copy
2005-01-07 14:23 [Bug c++/19312] New: ICE in stabilize_call jakub at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-01-18 12:25 ` [Bug c++/19312] [3.4/4.0 Regression] ICE in stabilize_call when throwing a copy reichelt at gcc dot gnu dot org
@ 2005-01-18 12:26 ` reichelt at gcc dot gnu dot org
2005-01-18 12:30 ` reichelt at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-01-18 12:26 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-01-18 12:26 -------
*** Bug 16338 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |mattias_hultgren at tele2
| |dot se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19312
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/19312] [3.4/4.0 Regression] ICE in stabilize_call when throwing a copy
2005-01-07 14:23 [Bug c++/19312] New: ICE in stabilize_call jakub at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-01-18 12:26 ` reichelt at gcc dot gnu dot org
@ 2005-01-18 12:30 ` reichelt at gcc dot gnu dot org
2005-04-06 4:57 ` [Bug c++/19312] [3.4/4.0/4.1 " cvs-commit at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-01-18 12:30 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2005-01-18 12:29 -------
Copy "assigned to" from PR16338.
--
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=19312
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/19312] [3.4/4.0/4.1 Regression] ICE in stabilize_call when throwing a copy
2005-01-07 14:23 [Bug c++/19312] New: ICE in stabilize_call jakub at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-01-18 12:30 ` reichelt at gcc dot gnu dot org
@ 2005-04-06 4:57 ` cvs-commit at gcc dot gnu dot org
2005-04-06 4:58 ` cvs-commit 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 @ 2005-04-06 4:57 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-06 04:57 -------
Subject: Bug 19312
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jason@gcc.gnu.org 2005-04-06 04:57:39
Modified files:
gcc/cp : ChangeLog tree.c
Added files:
gcc/testsuite/g++.dg/eh: throw3.C
Log message:
PR c++/19312
* tree.c (stabilize_init): Don't bother trying to stabilize
something with no side-effects.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4690&r2=1.4691
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&r1=1.429&r2=1.430
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/eh/throw3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19312
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/19312] [3.4/4.0/4.1 Regression] ICE in stabilize_call when throwing a copy
2005-01-07 14:23 [Bug c++/19312] New: ICE in stabilize_call jakub at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-04-06 4:57 ` [Bug c++/19312] [3.4/4.0/4.1 " cvs-commit at gcc dot gnu dot org
@ 2005-04-06 4:58 ` cvs-commit at gcc dot gnu dot org
2005-04-06 15:36 ` [Bug c++/19312] [3.4 " cvs-commit at gcc dot gnu dot org
2005-04-07 20:58 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-06 4:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-06 04:57 -------
Subject: Bug 19312
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: jason@gcc.gnu.org 2005-04-06 04:57:52
Modified files:
gcc/cp : ChangeLog tree.c
Log message:
PR c++/19312
* tree.c (stabilize_init): Don't bother trying to stabilize
something with no side-effects.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.4648.2.26&r2=1.4648.2.27
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/tree.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.427&r2=1.427.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19312
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/19312] [3.4 Regression] ICE in stabilize_call when throwing a copy
2005-01-07 14:23 [Bug c++/19312] New: ICE in stabilize_call jakub at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-04-06 4:58 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-06 15:36 ` cvs-commit at gcc dot gnu dot org
2005-04-07 20:58 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-06 15:36 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-06 15:35 -------
Subject: Bug 19312
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: jason@gcc.gnu.org 2005-04-06 15:35:33
Modified files:
gcc/cp : ChangeLog tree.c
Log message:
PR c++/19312
* tree.c (stabilize_init): Don't bother trying to stabilize
something with no side-effects.
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.210&r2=1.3892.2.211
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.10&r2=1.360.4.11
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19312
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug c++/19312] [3.4 Regression] ICE in stabilize_call when throwing a copy
2005-01-07 14:23 [Bug c++/19312] New: ICE in stabilize_call jakub at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-04-06 15:36 ` [Bug c++/19312] [3.4 " cvs-commit at gcc dot gnu dot org
@ 2005-04-07 20:58 ` pinskia at gcc dot gnu dot org
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-07 20:58 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-07 20:58 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19312
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-04-07 20:58 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-07 14:23 [Bug c++/19312] New: ICE in stabilize_call jakub at gcc dot gnu dot org
2005-01-07 14:28 ` [Bug c++/19312] [3.4/4.0 Regression] " pinskia at gcc dot gnu dot org
2005-01-08 22:50 ` pinskia at gcc dot gnu dot org
2005-01-18 12:25 ` [Bug c++/19312] [3.4/4.0 Regression] ICE in stabilize_call when throwing a copy reichelt at gcc dot gnu dot org
2005-01-18 12:26 ` reichelt at gcc dot gnu dot org
2005-01-18 12:30 ` reichelt at gcc dot gnu dot org
2005-04-06 4:57 ` [Bug c++/19312] [3.4/4.0/4.1 " cvs-commit at gcc dot gnu dot org
2005-04-06 4:58 ` cvs-commit at gcc dot gnu dot org
2005-04-06 15:36 ` [Bug c++/19312] [3.4 " cvs-commit at gcc dot gnu dot org
2005-04-07 20:58 ` 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).