http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47650
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-02-08 20:10:43 UTC --- (In reply to comment #3) > I am reporting the bug that print_generic_decl() is behaving incorrectly for > some kinds of declarations. This should either be fixed or a comment be placed > in the source code that warns about the usage of this function (and ideally > propose a better one). 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.