c++/4933: [2003-01-13]tree_list not supported by dump_expr

Giovanni Bajo giovannibajo@libero.it
Fri Apr 4 17:56:00 GMT 2003


The following reply was made to PR c++/4933; it has been noted by GNATS.

From: "Giovanni Bajo" <giovannibajo@libero.it>
To: <gcc-gnats@gcc.gnu.org>,
	<gcc-bugs@gcc.gnu.org>,
	<nobody@gcc.gnu.org>,
	<gcc-prs@gcc.gnu.org>,
	<anthwil@nortelnetworks.com>
Cc:  
Subject: Re: c++/4933: [2003-01-13]tree_list not supported by dump_expr
Date: Fri, 4 Apr 2003 19:47:34 +0200

 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-prs mailing list