[Bug c++/13094] [3.5 regression] ICE with template-template parameters
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Mar 20 22:31:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list