[PATCH] ASAN: do not rewrite param for DECL_NOT_GIMPLE_REG_P.

Martin Liška mliska@suse.cz
Tue May 12 07:04:56 GMT 2020


On 5/11/20 2:44 PM, Richard Biener wrote:
> Hmm, I think the fix is to clear DECL_NOT_GIMPLE_REG_P instead
> where the code clears TREE_ADDRESSABLE of 'arg'

Ah, you are right. There's a patch that I've just tested.

Patch can bootstrap on x86_64-linux-gnu and survives regression tests.

Ready to be installed?
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ASAN-clear-DECL_NOT_GIMPLE_REG_P.patch
Type: text/x-patch
Size: 3338 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200512/511cb2b2/attachment.bin>


More information about the Gcc-patches mailing list