public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/33841] [4.2/4.3 regression] ICE with non-integral bit-field
Date: Mon, 29 Oct 2007 21:41:00 -0000	[thread overview]
Message-ID: <20071029214144.25905.qmail@sourceware.org> (raw)
In-Reply-To: <bug-33841-1771@http.gcc.gnu.org/bugzilla/>



------- Comment #1 from jakub at gcc dot gnu dot org  2007-10-29 21:41 -------
Subject: Bug 33841

Author: jakub
Date: Mon Oct 29 21:41:29 2007
New Revision: 129736

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129736
Log:
        PR c++/33841
        * class.c (check_bitfield_decl): Don't set field's type to
error_mark_node
        for non-integral type bitfields.  Return true if bitfield is correct,
false
        error has been diagnosed.
        (check_field_decls): If check_bitfield_decl returned false, call also
        check_field_decl.

        * g++.dg/other/bitfield3.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/other/bitfield3.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/class.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2007-10-29 21:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-20 22:00 [Bug c++/33841] New: " reichelt at gcc dot gnu dot org
2007-10-20 22:00 ` [Bug c++/33841] " reichelt at gcc dot gnu dot org
2007-10-27 17:34 ` jakub at gcc dot gnu dot org
2007-10-29 21:41 ` jakub at gcc dot gnu dot org [this message]
2007-10-29 21:44 ` [Bug c++/33841] [4.2 " jakub at gcc dot gnu dot org
2008-02-01 17:00 ` jsm28 at gcc dot gnu dot org
2008-03-16 17:35 ` rguenth at gcc dot gnu dot org
2008-05-19 20:30 ` jsm28 at gcc dot gnu dot org
2009-03-31  0:33 ` jsm28 at gcc dot gnu dot 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=20071029214144.25905.qmail@sourceware.org \
    --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: link
Be 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).