This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/14283] [3.5 regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name
- From: "giovannibajo at libero dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Feb 2004 02:38:10 -0000
- Subject: [Bug c++/14283] [3.5 regression] ICE in cp_parser_parse_and_diagnose_invalid_type_name
- References: <20040225013703.14283.reichelt@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From giovannibajo at libero dot it 2004-02-25 02:38 -------
Well, basically I can see an ICE on invalid with this:
-----------------------------
struct A {};
template <typename> struct C
{
typedef A::template INVALID<void> X;
};
-----------------------------
The ice-on-valid would disappear if the underlying rejects-valid were fixed.
I keep forgetting that a TEMPLATE_ID_EXPR is just a syntactic tree. Caused by
my patch, I'll fix this as soon as I am done with the 3.4 regressions.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |giovannibajo at libero dot
|dot org |it
Status|UNCONFIRMED |ASSIGNED
Ever Confirmed| |1
Keywords| |ice-on-invalid-code
Known to fail| |3.5.0
Known to work| |3.4.0
Last reconfirmed|0000-00-00 00:00:00 |2004-02-25 02:38:09
date| |
Target Milestone|3.5.0 |---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14283