aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vect-loop-manip.cc
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2024-01-08 10:11:59 +0100
committerIlya Leoshkevich <iii@linux.ibm.com>2024-01-08 19:36:27 +0100
commitba4cfef0a45dd50e16ca7bee158bc630fa646ee7 (patch)
tree2c595933e3ab6fcdfb9b79e193ef18fe9b099e08 /gcc/tree-vect-loop-manip.cc
parentdfc88fb51c1f9c26215adf6a308c18e23992cdd9 (diff)
downloadgcc-ba4cfef0a45dd50e16ca7bee158bc630fa646ee7.zip
gcc-ba4cfef0a45dd50e16ca7bee158bc630fa646ee7.tar.gz
gcc-ba4cfef0a45dd50e16ca7bee158bc630fa646ee7.tar.bz2
asan: Do not call asan_function_start () without the current function [PR113251]
Using ASAN on i686-linux with -fPIC causes an ICE, because when pc_thunks are generated, there is no current function anymore, but asan_function_start () expects one. Fix by not calling asan_function_start () without one. A narrower fix would be to temporarily disable ASAN around pc_thunk generation. However, the issue looks generic enough, and may affect less often tested configurations, so go for a broader fix. Fixes: e66dc37b299c ("asan: Align .LASANPC on function boundary") Suggested-by: Jakub Jelinek <jakub@redhat.com> Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> gcc/ChangeLog: PR sanitizer/113251 * varasm.cc (assemble_function_label_raw): Do not call asan_function_start () without the current function.
Diffstat (limited to 'gcc/tree-vect-loop-manip.cc')
0 files changed, 0 insertions, 0 deletions