aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.c
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@acm.org>2021-01-21 10:37:23 -0800
committerNathan Sidwell <nathan@acm.org>2021-01-21 10:41:35 -0800
commit7944753fad501194eb8a828d6b74270e79d14a4d (patch)
tree9647dba777aff2103672565f22337af0ff37d769 /gcc/tree-data-ref.c
parent0fb7aa205afebe178c06683037ccd4c41104337a (diff)
downloadgcc-7944753fad501194eb8a828d6b74270e79d14a4d.zip
gcc-7944753fad501194eb8a828d6b74270e79d14a4d.tar.gz
gcc-7944753fad501194eb8a828d6b74270e79d14a4d.tar.bz2
c++: Fix null this pointer [PR 98624]
One may not use a null this pointer to invoke a static member function. This fixes the remaining ubsan errors found with an ubsan bootstrap. PR c++/98624 gcc/cp/ * module.cc (depset::hash::find_dependencies): Add module arg. (trees_out::core_vals): Check state before calling write_location. (sort_cluster, module_state::write): Adjust find_dependencies call.
Diffstat (limited to 'gcc/tree-data-ref.c')
0 files changed, 0 insertions, 0 deletions