]> gcc.gnu.org Git - gcc.git/commit
tree-optimization/111736 - avoid address sanitizing of __seg_gs
authorRichard Biener <rguenther@suse.de>
Thu, 21 Mar 2024 07:30:39 +0000 (08:30 +0100)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 24 Apr 2024 14:39:14 +0000 (16:39 +0200)
commitb4e1aee01a2fa617cf74ab04cf0ab574761aaaea
tree06af2525a9abf565682a9872693f39d79a5fa80b
parentb86b523fb53f5ffb0e3f3236fc526a587944d9ea
tree-optimization/111736 - avoid address sanitizing of __seg_gs

The following more thoroughly avoids address sanitizing accesses
to non-generic address-spaces.

gcc/ChangeLog:

PR tree-optimization/111736
* asan.c (instrument_derefs): Do not instrument accesses
to non-generic address-spaces.

gcc/testsuite/ChangeLog:

* gcc.target/i386/pr111736.c: New testcase.

(cherry picked from commit 134ef2a8cac1a5cc718739bd7d3b3472947c80d6)
gcc/asan.c
gcc/testsuite/gcc.target/i386/pr111736.c [new file with mode: 0644]
This page took 0.063349 seconds and 6 git commands to generate.