# Re: \[PATCH\] powerpc/64s: Disable stack variable initialisation for prom\_init

- From: Linus Torvalds \<torvalds@linux-foundation.org\>
- Date: 2022-07-18 18:35:14 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2022/07/1863414
- Thread: https://ratatoskr.run/linuxppc-dev/2022/07/1859149/t.md

```text
On Mon, Jul 18, 2022 at 6:44 AM Michael Ellerman [ref] wrote:
>
> With GCC 12, allmodconfig enables CONFIG_INIT_STACK_ALL_PATTERN, which
> causes the compiler to emit memset calls to initialise on-stack
> variables with a pattern.

Ahh, and that explains why "volatile" made no difference. That did
seem very odd.

Thanks for figuring it out,

                   Linus
```
