public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30759]  New: initializer-list accepted for object of non-POD type
@ 2007-02-10 19:56 gdr at gcc dot gnu dot org
  2007-02-10 21:08 ` [Bug c++/30759] [4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gdr at gcc dot gnu dot org @ 2007-02-10 19:56 UTC (permalink / raw)
  To: gcc-bugs

Current GCC accepts the following

struct A {
   A(int) { }
};

int main()
{
   A a = { 6 };
}

which is invalid.
This is a regression from GCC-3.3.x


-- 
           Summary: initializer-list accepted for object of non-POD type
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gdr at gcc dot gnu dot org
  GCC host triplet: platform independent


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


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

end of thread, other threads:[~2009-03-30 21:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-10 19:56 [Bug c++/30759] New: initializer-list accepted for object of non-POD type gdr at gcc dot gnu dot org
2007-02-10 21:08 ` [Bug c++/30759] [4.1/4.2/4.3 Regression] " pinskia at gcc dot gnu dot org
2007-02-14  9:22 ` mmitchel at gcc dot gnu dot org
2007-02-19 21:07 ` mmitchel at gcc dot gnu dot org
2007-05-26 18:50 ` patchapp at dberlin dot org
2007-06-07 19:59 ` simartin at gcc dot gnu dot org
2007-06-08 18:28 ` simartin at gcc dot gnu dot org
2008-07-04 21:57 ` [Bug c++/30759] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-30 21:32 ` jsm28 at gcc dot gnu dot 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).