[RFC][patch for gcc12][version 1] add -ftrivial-auto-var-init and variable attribute "uninitialized" to gcc

Martin Jambor mjambor@suse.cz
Fri Feb 19 10:49:51 GMT 2021


On Thu, Feb 18 2021, Qing Zhao via Gcc-patches wrote:
> (CC’ing Kees Cook on this topic)
>
> Hi, 
>
> This is the first version of the complete patch for the new security feature for GCC: 
>
> Initialize automatic variables with new first class option -ftrivial-auto-var-init=[uninitialized|pattern|zero] 
> and  a new variable attribute “uninitialized” to exclude some variables from automatical initialization to
> Control runtime overhead.
>
[...]
>
> ******the complete patch:
>
> See the attachment.

I think you forgot to attach the patch (or at least I do not see any
attachment).

Martin


More information about the Gcc-patches mailing list