Re: [GIT PULL] gcc-plugins updates for v4.13-rc1

From: Linus Torvalds
Date: Wed Jul 05 2017 - 18:39:12 EST

On Wed, Jul 5, 2017 at 3:27 PM, Ard Biesheuvel
<ard.biesheuvel@xxxxxxxxxx> wrote:
> The compiler already keeps track of which auto variables have their
> address taken, so it shouldn't be /that/ hard to come up with a plugin
> that zero initializes such variables before their address is taken if
> no such initialization is included in the code.

Yeah. Except one of the issues with the plugin stuff is that people
probably don't do any of this normally.

I suspect it would be a really nice *general* gcc extension..