public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "jason at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/54341] [4.7/4.8 Regression] ICE (segfault) in cx_check_missing_mem_inits, at cp/semantics.c:6093 Date: Thu, 06 Sep 2012 16:25:00 -0000 [thread overview] Message-ID: <bug-54341-4-JZ8rUH2h74@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-54341-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54341 --- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2012-09-06 16:24:25 UTC --- Author: jason Date: Thu Sep 6 16:24:10 2012 New Revision: 191033 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=191033 Log: PR c++/54341 PR c++/54253 * semantics.c (sort_constexpr_mem_initializers): New. (build_constexpr_constructor_member_initializers): Use it. (cx_check_missing_mem_inits): Skip artificial fields. * init.c (expand_aggr_init_1): Don't zero out a class with no data. Added: trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-virtual2.C trunk/gcc/testsuite/g++.dg/cpp0x/constexpr-virtual3.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/init.c trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog
next prev parent reply other threads:[~2012-09-06 16:25 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-08-21 10:24 [Bug c++/54341] New: [4.7 / 4.8 " 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 [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-54341-4-JZ8rUH2h74@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).