This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/16119] In C language diagnostic messages, %E should but cannot display general expressions
- From: "gdr at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Oct 2004 02:56:40 -0000
- Subject: [Bug c/16119] In C language diagnostic messages, %E should but cannot display general expressions
- References: <20040621181432.16119.trt@acm.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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