[Bug middle-end/21111] IA-64 NaT consumption faults due to uninitialized register reads
amonakov at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 27 08:34:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21111
Alexander Monakov <amonakov at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |amonakov at gcc dot gnu.org
--- Comment #8 from Alexander Monakov <amonakov at gcc dot gnu.org> ---
(In reply to Jim Wilson from comment #7)
> An possible fix might be to force all locals to zero, to ensure that we
> never read from an uninit register.
My understanding is that with introduction of pass_initialize_regs in 4.3 gcc
did that for must-uninit uses, masking off many potential issues. I don't know
how hard it would be to produce a testcase that breaks today, but it would need
to involve may-uninit accesses, not must-uninit.
More information about the Gcc-bugs
mailing list