public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/54341] New: [4.7 / 4.8 Regression] ICE (segfault) in cx_check_missing_mem_inits, at cp/semantics.c:6093
@ 2012-08-21 10:24 doko at gcc dot gnu.org
  2012-08-21 11:36 ` [Bug c++/54341] [4.7/4.8 " paolo.carlini at oracle dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: doko at gcc dot gnu.org @ 2012-08-21 10:24 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 54341
           Summary: [4.7 / 4.8 Regression] ICE (segfault) in
                    cx_check_missing_mem_inits, at cp/semantics.c:6093
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: doko@gcc.gnu.org


[forwarded from http://bugs.debian.org/685430]

works with 4.6, fails with current 4.7 branch and trunk:

#include <memory>


class VTableClass {
public:
    virtual void someVirtualMethod() { }
};

class SomeClass : public std::enable_shared_from_this< SomeClass >, public
VTableClass { };

SomeClass* createInstance()
{
    return new SomeClass;
}


g++ -std=c++0x -c testcase.cc 
testcase.cc: In constructor 'constexpr SomeClass::SomeClass()':
testcase.cc:9:7: internal compiler error: in cx_check_missing_mem_inits, at
cp/semantics.c:6093
 class SomeClass : public std::enable_shared_from_this< SomeClass >, public
VTableClass { };
       ^
Please submit a full bug report,
with preprocessed source if appropriate.


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

end of thread, other threads:[~2012-09-10 14:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-21 10:24 [Bug c++/54341] New: [4.7 / 4.8 Regression] ICE (segfault) in cx_check_missing_mem_inits, at cp/semantics.c:6093 doko at gcc dot gnu.org
2012-08-21 11:36 ` [Bug c++/54341] [4.7/4.8 " paolo.carlini at oracle dot com
2012-08-21 11:46 ` paolo.carlini at oracle dot com
2012-08-21 17:51 ` hjl.tools at gmail dot com
2012-09-06 16:25 ` jason at gcc dot gnu.org
2012-09-07 10:37 ` [Bug c++/54341] [4.7 " rguenth at gcc dot gnu.org
2012-09-10 14:42 ` jason at gcc dot gnu.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).