public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15696] New: [3.5 Regression] ICE in gimplifier with pointer-to-members
@ 2004-05-28 19:10 pinskia at gcc dot gnu dot org
2004-05-28 19:16 ` [Bug c++/15696] " pinskia at gcc dot gnu dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-28 19:10 UTC (permalink / raw)
To: gcc-bugs
class A
{};
class B;
class B:public A
{};
class C
{
typedef void (A::*ftype)();
C(B* a){a->*ftype();}
};
--
Summary: [3.5 Regression] ICE in gimplifier with pointer-to-
members
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: critical
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15696
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/15696] [3.5 Regression] ICE in gimplifier with pointer-to-members
2004-05-28 19:10 [Bug c++/15696] New: [3.5 Regression] ICE in gimplifier with pointer-to-members pinskia at gcc dot gnu dot org
@ 2004-05-28 19:16 ` pinskia at gcc dot gnu dot org
2004-05-28 22:51 ` [Bug c++/15696] [3.4/3.5 Regression] ICE " reichelt at gcc dot gnu dot org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-28 19:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-28 01:47 -------
prtgddbgfd.cc: In constructor `C::C(B*)':
prtgddbgfd.cc:9: internal compiler error: in gimplify_expr, at gimplify.c:3471
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Been failing since at least 3.5-tree-ssa 20040512.
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |3.5.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15696
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/15696] [3.4/3.5 Regression] ICE with pointer-to-members
2004-05-28 19:10 [Bug c++/15696] New: [3.5 Regression] ICE in gimplifier with pointer-to-members pinskia at gcc dot gnu dot org
2004-05-28 19:16 ` [Bug c++/15696] " pinskia at gcc dot gnu dot org
@ 2004-05-28 22:51 ` reichelt at gcc dot gnu dot org
2004-05-29 11:54 ` mmitchel at gcc dot gnu dot org
2004-05-29 11:55 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2004-05-28 22:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-05-28 13:09 -------
Confirmed.
Stripping away unneccesary classes I get the following testcase:
========================================
struct A {};
typedef void (A::*ftype)();
void foo(A a) { a.*ftype(); }
========================================
Slightly modifing the last line, I get a testcase that already crashes
with gcc 3.4.0:
========================================
struct A {};
typedef void (A::*ftype)();
void foo() { A().*ftype(); }
========================================
PR15696.cc: In function `void foo()':
PR15696.cc:5: internal compiler error: in cxx_expand_expr, at cp/expr.c:101
Please submit a full bug report, [etc.]
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |reichelt at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords| |monitored
Known to fail| |3.4.0 3.5.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2004-05-28 13:09:37
date| |
Summary|[3.5 Regression] ICE in |[3.4/3.5 Regression] ICE
|gimplifier with pointer-to- |with pointer-to-members
|members |
Target Milestone|3.5.0 |3.4.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15696
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/15696] [3.4/3.5 Regression] ICE with pointer-to-members
2004-05-28 19:10 [Bug c++/15696] New: [3.5 Regression] ICE in gimplifier with pointer-to-members pinskia at gcc dot gnu dot org
2004-05-28 19:16 ` [Bug c++/15696] " pinskia at gcc dot gnu dot org
2004-05-28 22:51 ` [Bug c++/15696] [3.4/3.5 Regression] ICE " reichelt at gcc dot gnu dot org
@ 2004-05-29 11:54 ` mmitchel at gcc dot gnu dot org
2004-05-29 11:55 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2004-05-29 11:54 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From mmitchel at gcc dot gnu dot org 2004-05-28 20:01 -------
The first case in Comment #2 works in GCC 3.4.1. Is the second case a regression?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15696
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/15696] [3.4/3.5 Regression] ICE with pointer-to-members
2004-05-28 19:10 [Bug c++/15696] New: [3.5 Regression] ICE in gimplifier with pointer-to-members pinskia at gcc dot gnu dot org
` (2 preceding siblings ...)
2004-05-29 11:54 ` mmitchel at gcc dot gnu dot org
@ 2004-05-29 11:55 ` pinskia at gcc dot gnu dot org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-29 11:55 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-05-28 20:04 -------
Yes it used to work in 3.3.3.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15696
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-05-28 20:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-28 19:10 [Bug c++/15696] New: [3.5 Regression] ICE in gimplifier with pointer-to-members pinskia at gcc dot gnu dot org
2004-05-28 19:16 ` [Bug c++/15696] " pinskia at gcc dot gnu dot org
2004-05-28 22:51 ` [Bug c++/15696] [3.4/3.5 Regression] ICE " reichelt at gcc dot gnu dot org
2004-05-29 11:54 ` mmitchel at gcc dot gnu dot org
2004-05-29 11:55 ` 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).