[Bug c/16119] In C language diagnostic messages, %E should but cannot display general expressions

gdr at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Oct 3 02:56:00 GMT 2004


------- Additional Comments From gdr at gcc dot gnu dot org  2004-10-03 02:56 -------
(In reply to comment #0)
>    
> --- 274,278 ----
>       case 'E':
> !       dump_generic_node (pp, t, 0, 0, false);

I consider it a bug to attempt to use dump_generic_node() in diagnotics
(and in general).  Please consider pp_expression() or pp_declaration(),
whichever suits best.

-- Gaby


-- 


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



More information about the Gcc-bugs mailing list