public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/27961] [4.1 regression] ICE on invalid template declaration
Date: Mon, 11 Dec 2006 21:00:00 -0000 [thread overview]
Message-ID: <20061211210014.8467.qmail@sourceware.org> (raw)
In-Reply-To: <bug-27961-1771@http.gcc.gnu.org/bugzilla/>
------- Comment #8 from reichelt at gcc dot gnu dot org 2006-12-11 21:00 -------
> Fixed on mainline.
Alas this is only partially true:
Although the original testcase is indeed fixed on mainline (and 4.2 branch),
the following variant (which only differs in the return type of the template
function) still crashes:
====================================
struct A
{
template<int> int foo(X);
};
====================================
I'll open a new PR for this failure.
Btw, the testcase from comment #1 is also fixed on the 4.1 branch
(with "void" or "int" as return type).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27961
next prev parent reply other threads:[~2006-12-11 21:00 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-08 15:29 [Bug c++/27961] New: [4.1/4.2 " reichelt at gcc dot gnu dot org
2006-06-08 15:31 ` [Bug c++/27961] " pinskia at gcc dot gnu dot org
2006-06-15 23:52 ` mmitchel at gcc dot gnu dot org
2006-07-17 3:25 ` mmitchel at gcc dot gnu dot org
2006-07-18 10:48 ` reichelt at gcc dot gnu dot org
2006-08-12 21:28 ` janis at gcc dot gnu dot org
2006-08-14 19:06 ` reichelt at gcc dot gnu dot org
2006-09-23 16:28 ` lmillward at gcc dot gnu dot org
2006-09-23 16:30 ` patchapp at dberlin dot org
2006-10-12 20:03 ` lmillward at gcc dot gnu dot org
2006-10-12 20:06 ` lmillward at gcc dot gnu dot org
2006-10-12 20:07 ` [Bug c++/27961] [4.1 " lmillward at gcc dot gnu dot org
2006-12-11 21:00 ` reichelt at gcc dot gnu dot org [this message]
2007-02-14 9:27 ` mmitchel at gcc dot gnu dot org
2008-07-04 15:36 ` 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=20061211210014.8467.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).