asan: fix RTX emission for ilp32
authorMartin Liska <mliska@suse.cz>
Thu, 11 Jun 2020 07:34:41 +0000 (09:34 +0200)
committerMartin Liska <mliska@suse.cz>
Thu, 11 Jun 2020 09:02:58 +0000 (11:02 +0200)
commit8cff672cb9a132d3d3158c2edfc9a64b55292b80
treed5100acad5569efed62c16bdc21b716e868bdc11
parent37478789dc446a28ffc642ee121e8c3959e5fe47
asan: fix RTX emission for ilp32

gcc/ChangeLog:

PR sanitizer/95634
* asan.c (asan_emit_stack_protection): Fix emission for ilp32
by using Pmode instead of ptr_mode.

Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
gcc/asan.c