This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/51612] [c++0x] [4.6/4.7 Regression] ICE with constexpr constructor and virtual base class


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

--- Comment #2 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> 2011-12-20 10:38:48 UTC ---
Author: paolo
Date: Tue Dec 20 10:38:44 2011
New Revision: 182526

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=182526
Log:
/cp
2011-12-20  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51612
    * semantics.c (is_valid_constexpr_fn): In case of constexpr
    constructors also check for virtual base classes.

/testsuite
2011-12-20  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/51612
    * g++.dg/cpp0x/constexpr-ice4.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-ice4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]