This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ diagnostic] Handle OFFSETOF_EXPR in C++ dump_expr (PR c++/33842)
- From: Paolo Carlini <pcarlini at suse dot de>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 26 Oct 2007 17:37:31 +0200
- Subject: Re: [C++ diagnostic] Handle OFFSETOF_EXPR in C++ dump_expr (PR c++/33842)
- References: <20071026151415.GO5451@devserv.devel.redhat.com>
Hi Jakub,
and thanks for working on this issue.
> --- gcc/cp/cxx-pretty-print.c.jj 2007-10-26 13:45:43.000000000 +0200
> +++ gcc/cp/cxx-pretty-print.c 2007-10-26 16:56:36.000000000 +0200
> @@ -421,6 +421,10 @@ pp_cxx_primary_expression (cxx_pretty_pr
>
I think you may want to add a line of comment before the function,
mentioning __builtin_offsetof also as a GNU extension, like
__builtin_va_arg.
Paolo.