public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "hzoli at austin dot ibm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug c++/15554] [3.4/3.5 Regression] ICE in tsubst_copy, at cp/pt.c:7433
Date: Tue, 08 Jun 2004 16:46:00 -0000 [thread overview]
Message-ID: <20040608164637.18057.qmail@sourceware.org> (raw)
In-Reply-To: <20040520165453.15554.hzoli@austin.ibm.com>
------- Additional Comments From hzoli at austin dot ibm dot com 2004-06-08 16:46 -------
(In reply to comment #5)
> Fixed in GCC 3.4.1.
The ICE is fixed, however the real construct I am trying to
use is still not working. Consider a slight modification
of the testcase:
template <int n> struct T1 { enum { N = 3 }; };
template <int n> struct T2 { enum { N = n, N1 = T1<N>::N }; };
This gives the following error message:
ice.C:2: error: non-constant `n' cannot be used as template argument
ice.C:2: error: `N' is not a member of `<declaration error>'
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15554
next prev parent reply other threads:[~2004-06-08 16:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-21 17:17 [Bug c++/15554] New: " gcc-bugzilla at gcc dot gnu dot org
2004-05-21 17:32 ` [Bug c++/15554] [3.4/3.5 Regression] " pinskia at gcc dot gnu dot org
2004-06-05 19:39 ` mmitchel at gcc dot gnu dot org
2004-06-07 15:52 ` cvs-commit at gcc dot gnu dot org
2004-06-07 15:54 ` cvs-commit at gcc dot gnu dot org
2004-06-07 16:24 ` mmitchel at gcc dot gnu dot org
2004-06-07 16:33 ` mmitchel at gcc dot gnu dot org
2004-06-08 16:46 ` hzoli at austin dot ibm dot com [this message]
2004-06-08 16:55 ` hzoli at austin dot ibm dot com
2004-06-08 18:16 ` pinskia 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=20040608164637.18057.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).