This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++, diagnostic] PR 33495
- From: Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- To: Paolo Carlini <pcarlini at suse dot de>
- Cc: Gcc Patch List <gcc-patches at gcc dot gnu dot org>
- Date: 02 Nov 2007 08:58:31 -0500
- Subject: Re: [C++, diagnostic] PR 33495
- References: <472B1A14.5080609@suse.de>
Paolo Carlini <pcarlini@suse.de> writes:
| Hi all, hi Gaby,
|
| I'm trying to make progress on this PR, taking also into account Jakub'
| comment in the audit trail about the unbounded size of statements.
| Currently I have the below, which passes regtesting on x86_64-linux,
| makes sense to you?
If we had `diagnostics with carret', we would just point to the locus
of the error. Currently, we don't. Just printing the statement would
not be good either -- because the internal representation does not
always accurately reflect the source code. So, yes you're is OK if
you changed
| + pp_cxx_identifier (cxx_pp, "<expression>");
to
+ pp_cxx_identifier (cxx_pp, "<statement>");
Thanks!
-- Gaby