public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/46862] ICE on std::decimal::decimal32 without any fields
Date: Tue, 23 Aug 2011 13:25:00 -0000	[thread overview]
Message-ID: <bug-46862-4-aIWhs6TFiM@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-46862-4@http.gcc.gnu.org/bugzilla/>

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

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-08-23 13:23:29 UTC ---
Author: jakub
Date: Tue Aug 23 13:23:22 2011
New Revision: 177988

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177988
Log:
    PR c++/46862
    * class.c (finish_struct_1): If TYPE_TRANSPARENT_AGGR is set on a type
    which doesn't have any fields, clear it and diagnose.

    * g++.dg/dfp/nofields.C: New test.

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/dfp/nofields.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/class.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


  parent reply	other threads:[~2011-08-23 13:24 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-09 11:20 [Bug c++/46862] New: " jakub at gcc dot gnu.org
2010-12-09 11:25 ` [Bug c++/46862] " jakub at gcc dot gnu.org
2010-12-09 18:42 ` janis at gcc dot gnu.org
2010-12-09 18:46 ` jakub at gcc dot gnu.org
2010-12-09 18:50 ` janis at gcc dot gnu.org
2010-12-15  4:00 ` janis at gcc dot gnu.org
2011-08-22 10:43 ` jakub at gcc dot gnu.org
2011-08-22 11:58 ` jakub at gcc dot gnu.org
2011-08-22 18:53 ` pthaugen at gcc dot gnu.org
2011-08-23 13:24 ` jakub at gcc dot gnu.org
2011-08-23 13:25 ` jakub at gcc dot gnu.org [this message]
2011-08-23 13:30 ` jakub at gcc dot gnu.org
2011-09-08 18:11 ` bergner 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-46862-4-aIWhs6TFiM@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: 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).