https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21111

--- Comment #17 from Richard Biener <rguenth at gcc dot gnu.org> ---
So to sum up, a SSA default def would have to be expanded to an explicit (zero)
initialization.  I suppose memory doesn't have a NaT state so stack allocation
for locals doesn't have to change but decls eventually expanding to pseudos
would have to go through the same exercise.

Since we now have -ftrivial-auto-var-init=zero that might serve as a workaround
for GCC 12.

But I guess trying to fix this in RTL expansion shouldn't be too difficult
(gated with a new target hook), if anyone really cares.  Do any better
maintained archs than ia64 have NaTs?  NVPTX was mentioned, but I guess
that's not really easier to handle since it's also a meta-ISA.

Reply via email to