public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33840]  New: bit-field size accepted for struct
@ 2007-10-20 21:57 reichelt at gcc dot gnu dot org
  2007-11-19  5:46 ` [Bug c++/33840] " pinskia at gcc dot gnu dot org
  0 siblings, 1 reply; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-10-20 21:57 UTC (permalink / raw)
  To: gcc-bugs

The following invalid code snippet is accepted since at least GCC 2.95.3:

===============================
template<int> struct A
{
  struct {} : 2;
};
===============================


-- 
           Summary: bit-field size accepted for struct
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: accepts-invalid, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

end of thread, other threads:[~2011-06-04 16:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-33840-4@http.gcc.gnu.org/bugzilla/>
2011-06-04  9:05 ` [Bug c++/33840] bit-field size accepted for struct reichelt at gcc dot gnu.org
2011-06-04 13:02 ` redi at gcc dot gnu.org
2011-06-04 16:12 ` redi at gcc dot gnu.org
2011-06-04 16:21 ` redi at gcc dot gnu.org
2011-06-04 16:23 ` redi at gcc dot gnu.org
2007-10-20 21:57 [Bug c++/33840] New: " reichelt at gcc dot gnu dot org
2007-11-19  5:46 ` [Bug c++/33840] " pinskia 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).