public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "lmillward at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/26938] [4.0/4.1/4.2 regression] ICE with wrong number of template parameters
Date: Mon, 25 Sep 2006 19:45:00 -0000	[thread overview]
Message-ID: <20060925194545.4365.qmail@sourceware.org> (raw)
In-Reply-To: <bug-26938-1771@http.gcc.gnu.org/bugzilla/>



------- Comment #5 from lmillward at gcc dot gnu dot org  2006-09-25 19:45 -------
Subject: Bug 26938

Author: lmillward
Date: Mon Sep 25 19:45:34 2006
New Revision: 117205

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117205
Log:
        PR c++/27329
        PR c++/26938
        * cp-tree.h (redeclare_class_template): Adjust declaration
        to return bool instead of void.
        * pt.c (redeclare_class_template): Update definition. Return
        false on error.
        * decl.c (xref_tag): Return error_mark_node if redeclare_class_template
        returned false.

        * g++.dg/template/crash58.C: New test.
        * g++.dg/template/crash59.C: New test.
        * g++.dg/parse/crash28.C: Adjust error markers.
        * g++.dg/template/crash34.C: Likewise.
        * g++.dg/template/friend31.C: Likewise.
        * g++.dg/template/crash32.C: Likewise.


Added:
    trunk/gcc/testsuite/g++.dg/template/crash58.C
    trunk/gcc/testsuite/g++.dg/template/crash59.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/parse/crash28.C
    trunk/gcc/testsuite/g++.dg/template/crash32.C
    trunk/gcc/testsuite/g++.dg/template/crash34.C
    trunk/gcc/testsuite/g++.dg/template/friend31.C


-- 


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


  parent reply	other threads:[~2006-09-25 19:45 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-30 10:09 [Bug c++/26938] New: " reichelt at gcc dot gnu dot org
2006-03-30 23:18 ` [Bug c++/26938] " pinskia at gcc dot gnu dot org
2006-06-04 18:20 ` mmitchel at gcc dot gnu dot org
2006-07-05 18:41 ` pinskia at gcc dot gnu dot org
2006-07-16  8:31 ` pinskia at gcc dot gnu dot org
2006-07-17  3:20 ` mmitchel at gcc dot gnu dot org
2006-09-23 16:35 ` lmillward at gcc dot gnu dot org
2006-09-23 16:35 ` patchapp at dberlin dot org
2006-09-25 19:45 ` lmillward at gcc dot gnu dot org [this message]
2006-09-25 19:47 ` [Bug c++/26938] [4.0/4.1 " lmillward at gcc dot gnu dot org
2007-02-03 16:27 ` gdr at gcc dot gnu dot org
2007-02-03 20:25 ` pinskia at gcc dot gnu dot org
2007-02-14  9:36 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:26 ` [Bug c++/26938] [4.1 " 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=20060925194545.4365.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).