Do not instrument register variables in object-size sanitizer (PR sanitizer/70878).
authorMartin Liska <mliska@suse.cz>
Tue, 11 Apr 2017 13:08:08 +0000 (15:08 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Tue, 11 Apr 2017 13:08:08 +0000 (13:08 +0000)
commit9f679370006ed036fb1545ebc272d4f1b39641a3
tree9c3575235036b0618e6b6a16c1b0684a79a4c3fd
parentcb278caa18841ee7a15adab8ca8bb1e99dbb3117
Do not instrument register variables in object-size sanitizer (PR sanitizer/70878).

2017-04-11  Martin Liska  <mliska@suse.cz>

PR sanitizer/70878
* ubsan.c (instrument_object_size): Do not instrument register
variables.
2017-04-11  Martin Liska  <mliska@suse.cz>

PR sanitizer/70878
* gcc.dg/ubsan/pr70878.c: New test.

From-SVN: r246837
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/ubsan/pr70878.c [new file with mode: 0644]
gcc/ubsan.c