This is the mail archive of the gcc-patches@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]

Re: [C++ diagnostic] Handle OFFSETOF_EXPR in C++ dump_expr (PR c++/33842)


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.


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