public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "paolo at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/34776] [4.1/4.2/4.3 regression] ICE with invalid member declaration in template class
Date: Mon, 21 Jan 2008 02:00:00 -0000	[thread overview]
Message-ID: <20080121015017.27176.qmail@sourceware.org> (raw)
In-Reply-To: <bug-34776-1771@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from paolo at gcc dot gnu dot org  2008-01-21 01:50 -------
Subject: Bug 34776

Author: paolo
Date: Mon Jan 21 01:49:29 2008
New Revision: 131686

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131686
Log:
/cp
2008-01-20  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34776
        PR c++/34486
        * name-lookup.c (do_class_using_decl): Do not call constructor_name_p
        on non-IS_AGGR_TYPE type scope.
        (constructor_name_p): Assert IS_AGGR_TYPE.

/testsuite
2008-01-20  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34776
        PR c++/34486
        * g++.dg/template/crash75.C: New.
        * g++.dg/template/crash76.C: Likewise.  

Added:
    trunk/gcc/testsuite/g++.dg/template/crash75.C
    trunk/gcc/testsuite/g++.dg/template/crash76.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


  parent reply	other threads:[~2008-01-21  1:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-13 23:01 [Bug c++/34776] New: " reichelt at gcc dot gnu dot org
2008-01-14  0:06 ` [Bug c++/34776] " reichelt at gcc dot gnu dot org
2008-01-14 10:56 ` rguenth at gcc dot gnu dot org
2008-01-17 18:22 ` pcarlini at suse dot de
2008-01-21  2:00 ` paolo at gcc dot gnu dot org [this message]
2008-01-21  2:22 ` [Bug c++/34776] [4.1/4.2 " pcarlini at suse dot de
2008-07-04 22:29 ` [Bug c++/34776] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31 14:59 ` 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=20080121015017.27176.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).