This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13094] [3.5 regression] ICE with template-template parameters
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Mar 2004 22:31:48 -0000
- Subject: [Bug c++/13094] [3.5 regression] ICE with template-template parameters
- References: <20031117235959.13094.ron_hylton@hotmail.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From reichelt at gcc dot gnu dot org 2004-03-20 22:31 -------
The code snippet from comment #7 does compile on mainline as of today,
but the original testcase still crashes. A redux for the new crash is
===============================
void foo()
{
if (x) x=x;
}
===============================
PR13094C.cc: In function `void foo()':
PR13094C.cc:3: error: `x' was not declared in this scope
PR13094C.cc:3: internal compiler error: tree check: expected class 't', have 'x'
(error_mark) in require_complete_type, at cp/typeck.c:100
Please submit a full bug report, [etc.]
--
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |ice-on-invalid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13094