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: [RFC] [PATCH] Implement -ffortify for C/C++


On Tuesday, 30. January 2007 18:05, Jakub Jelinek wrote:

> > so it produces __builtin_object_size(.., 1) if it is a str*/stp* related
> > function and fortify level is > 1. This is how I understood it from
> > reading the glibc header file (I admit it was late and I was drunk).
> Oops, yeah, your patch is correct, I must have missed the bos && there,
> sorry.  Still, the *.texi documentation needs fixing to actually describe
> what the option really does.

I agree. Which part do you think is missing? the definition of the parameter 
passed down to the builtin_object_size calls in str*  functions depending on 
the fortify level compared to the mem* functions?


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