public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/52599] New: illegal constexpr constructor declaration make g++ assert instead of returning an error
@ 2012-03-16 10:21 mickael.guene at st dot com
  2012-03-16 10:28 ` [Bug c++/52599] ICE on illegal constexpr constructor declaration paolo.carlini at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mickael.guene at st dot com @ 2012-03-16 10:21 UTC (permalink / raw)
  To: gcc-bugs

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.


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

end of thread, other threads:[~2012-04-17 17:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-16 10:21 [Bug c++/52599] New: illegal constexpr constructor declaration make g++ assert instead of returning an error mickael.guene at st dot com
2012-03-16 10:28 ` [Bug c++/52599] ICE on illegal constexpr constructor declaration paolo.carlini at oracle dot com
2012-03-16 10:53 ` paolo.carlini at oracle dot com
2012-04-17 10:42 ` paolo.carlini at oracle dot com
2012-04-17 17:34 ` paolo at gcc dot gnu.org
2012-04-17 17:35 ` paolo.carlini at oracle 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).