c++/4933: [2003-01-13]tree_list not supported by dump_expr
Giovanni Bajo
giovannibajo@libero.it
Fri Apr 4 17:47:00 GMT 2003
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&p
r=4933
Redux:
--------------------------------------------
template<unsigned F>
struct Foo;
template<typename T>
T makeT();
template<typename T,typename U>
struct Bar
{
typedef Foo
<
sizeof((makeT<T>(), makeT<U>()))
> Type;
};
----------------------------------------------
pr4933.cpp:14: sorry, unimplemented: `tree_list' not supported by dump_expr
pr4933.cpp:14: sorry, unimplemented: `tree_list' not supported by dump_expr
It's now easy to see that GCC simply doesn't like the comma operator in that
context.
Confirmed with 2.95, 3.2 and 3.3 20030401.
Giovanni Bajo
More information about the Gcc-bugs
mailing list