This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]