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]

Re: PATCH to C++ diagnotics infrastructure, part 1


On Fri, Aug 25, 2000 at 01:41:35AM +0200, Gabriel Dos Reis wrote:
> +       tree_being_formatted (&tfi) =
> +         va_arg (output_buffer_format_args (buffer), tree);
> + 
> +       switch (*output_buffer_text_cursor (buffer))
> +         {
...
> +         default:
> +           return 0;
> +         }

Surely you should either abort or not have read a tree off the va_list.


r~

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