public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/53356] New: ICE in verify_gimple_stmt, at tree-cfg.c:4258
@ 2012-05-15  4:26 foom at fuhm dot net
  2012-05-15  9:33 ` [Bug c++/53356] [4.7/4.8 Regression] " paolo.carlini at oracle dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: foom at fuhm dot net @ 2012-05-15  4:26 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53356
           Summary: ICE in verify_gimple_stmt, at tree-cfg.c:4258
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: foom@fuhm.net


On the code:
test.cpp:
===============
class A {};

struct B {
    operator const A &() const;
};

A* cause_ICE() {
    return new A(B());
}
===============

Running: g++ -std=c++0x -c test.cpp
With gcc version: g++ (Debian 4.7.0-8) 4.7.0
(which says it's built from r187339 on the gcc 4.7 branch).
On architecture: x86-64

Crashes with error message:
test.cpp: In function ‘Foo* cause_ICE()’:
test.cpp:7:6: internal compiler error: in verify_gimple_stmt, at
tree-cfg.c:4258

Removing -std=c++0x makes it not crash. 4.6.3 does not crash.

This looks similar to bug 49996, (but obviously different, because that one is
still fixed).


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

end of thread, other threads:[~2013-07-05  8:48 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-15  4:26 [Bug c++/53356] New: ICE in verify_gimple_stmt, at tree-cfg.c:4258 foom at fuhm dot net
2012-05-15  9:33 ` [Bug c++/53356] [4.7/4.8 Regression] " paolo.carlini at oracle dot com
2012-05-29 14:34 ` rguenth at gcc dot gnu.org
2012-05-30  1:48 ` hjl.tools at gmail dot com
2012-05-30  6:54 ` jakub at gcc dot gnu.org
2012-05-30 13:34 ` jason at gcc dot gnu.org
2012-05-30 14:52 ` jason at gcc dot gnu.org
2012-05-30 14:59 ` jason at gcc dot gnu.org
2012-05-30 22:14 ` jason at gcc dot gnu.org
2012-05-30 22:54 ` jason at gcc dot gnu.org
2013-06-28  9:22 ` quickhelp at gmail dot com
2013-06-28 11:12 ` paolo.carlini at oracle dot com
2013-06-28 11:17 ` quickhelp at gmail dot com
2013-06-28 11:21 ` quickhelp at gmail dot com
2013-06-28 11:22 ` paolo.carlini at oracle dot com
2013-07-05  8:48 ` quickhelp at gmail dot com

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).