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++/52599] New: illegal constexpr constructor declaration make g++ assert instead of returning an error


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

             Bug #: 52599
           Summary: illegal constexpr constructor declaration make g++
                    assert instead of returning an error
    Classification: Unclassified
           Product: gcc
           Version: 4.8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mickael.guene@st.com


Created attachment 26902
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26902
This test make g++ to assert

when compiling attach file with 'g++ -std=c++0x test.cpp' compiler assert in
build_constexpr_constructor_member_initializers function from cp/semantics.c.
g++ should instead return an error since construct is illegal.


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