public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60417] New: [4.9 regression] [DR 1518] Bogus error on C++03 aggregate initialization
@ 2014-03-04 21:14 jason at gcc dot gnu.org
  2014-03-04 21:14 ` [Bug c++/60417] " jason at gcc dot gnu.org
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: jason at gcc dot gnu.org @ 2014-03-04 21:14 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60417
           Summary: [4.9 regression] [DR 1518] Bogus error on C++03
                    aggregate initialization
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jason at gcc dot gnu.org
        Depends on: 54835

This testcase is valid C++98, but we've started to reject it since the patch
for 54835.

struct A { explicit A(int = 0); };
struct B { A a; };

int main()
{
  B b = {};
}


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

end of thread, other threads:[~2015-10-24  3:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-04 21:14 [Bug c++/60417] New: [4.9 regression] [DR 1518] Bogus error on C++03 aggregate initialization jason at gcc dot gnu.org
2014-03-04 21:14 ` [Bug c++/60417] " jason at gcc dot gnu.org
2014-03-04 21:36 ` redi at gcc dot gnu.org
2014-03-04 22:16 ` jason at gcc dot gnu.org
2014-03-05  7:17 ` [Bug c++/60417] " jakub at gcc dot gnu.org
2014-03-05  7:24 ` daniel.kruegler at googlemail dot com
2014-03-05  9:13 ` redi at gcc dot gnu.org
2014-03-05  9:36 ` rguenth at gcc dot gnu.org
2014-08-02  0:52 ` jason at gcc dot gnu.org
2014-08-07  1:45 ` jason at gcc dot gnu.org
2014-08-20  1:17 ` jason at gcc dot gnu.org
2015-06-15 16:03 ` jason at gcc dot gnu.org
2015-10-24  2:58 ` jason at gcc dot gnu.org
2015-10-24  3:01 ` 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).