[Bug middle-end/47650] wrong output of print_generic_decl() called from a plugin

joe at mcknight dot de gcc-bugzilla@gcc.gnu.org
Tue Feb 8 20:22:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47650

--- Comment #5 from joe at mcknight dot de 2011-02-08 20:16:28 UTC ---
(In reply to comment #4)
> Well I think you need to debug it to see why it is printing out static, it
> might because a bit on tree has not been set yet.

The static is a very minor issue. What is worse is that it doesn't see the
ellipsis and turns "void barfunc (int foo, int abc, ... )" into "void barfunc
(int)". It also outputs incorrect C when dealing with function pointers.



More information about the Gcc-bugs mailing list