This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13094] [3.5 regression] ICE with template-template parameters


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]