Bail out HARD_REGISTER vars in asan (PR sanitizer/81224).
authorMartin Liska <mliska@suse.cz>
Wed, 28 Jun 2017 07:59:23 +0000 (09:59 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 28 Jun 2017 07:59:23 +0000 (07:59 +0000)
commit6dc61b4533d9b58c10a57761378701e2f9d1b9c0
treed60813334f2635c212881c64cdbfa4f43714df77
parent576f123b8342072609eb78e6d36736c2e469cda0
Bail out HARD_REGISTER vars in asan (PR sanitizer/81224).

2017-06-28  Martin Liska  <mliska@suse.cz>

PR sanitizer/81224
* asan.c (instrument_derefs): Bail out inner references
that are hard register variables.
2017-06-28  Martin Liska  <mliska@suse.cz>

PR sanitizer/81224
* gcc.dg/asan/pr81224.c: New test.

From-SVN: r249728
gcc/ChangeLog
gcc/asan.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/asan/pr81224.c [new file with mode: 0644]