]> 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>
Tue, 23 Apr 2024 14:26:12 +0000 (16:26 +0200)
commite89b5ed62a5a06fb8918ffa1616f0f37c8d359c3
tree3f2c52476dd5382a66c25e7a0a9fc2f9b288284e
parent61d1962e7c3c32da6962d9cb20f6fd996501f3f2
tree-optimization/111736 - avoid address sanitizing of __seg_gs

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

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

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

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