[PATCH] Add __builtin_va_arg_pack_len () builtin for {open{,at}{,64},mq_open} fortification

Tom Tromey tromey@redhat.com
Sat Sep 8 19:13:00 GMT 2007


>>>>> "Jakub" == Jakub Jelinek <jakub@redhat.com> writes:

Jakub> We have discussed several possibilities, including:
Jakub> 1) hardwiring this kind of checking into gcc with
Jakub>    __attribute__((__open_check__ (O_CREAT, 2, __open_2)))

I wanted to point out that this is a situation where plugins would be
helpful.  The same applies to the recent alloca warning patch.

Tom



More information about the Gcc-patches mailing list