bug with dump_type_real exclusion of TREE_LIST
Brendan Kehoe
brendan@cygnus.com
Mon Mar 22 16:05:00 GMT 1999
Hi! FYI, this test
-- cut --
extern "C" {
typedef int bar;
typedef void (*foo)();
extern foo sigfpe (bar, foo) ;
}
void fn () { sigfpe (6 , (void (*)())1 ); }
-- cut --
yields the error
/tmp/t.C:6: sorry, not implemented: `tree_list' not supported by dump_type
dump_type_real is getting the void_list_node; in this case, we don't actually
try to use dump_parameters, where the stuff is now set up to handle it.
Instead, it goes thru type_as_string->type_as_string_real landing in
dump_type_real where it no longer has a case for TREE_LIST.
B
--
Brendan Kehoe brendan@cygnus.com
Cygnus Solutions, Sunnyvale, CA +1 408 542 9600
Web page: http://www.zen.org/~brendan/
More information about the Gcc-bugs
mailing list