aboutsummaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2014-11-18 23:15:42 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2014-11-18 23:15:42 +0100
commitc39a5e99829ae233bd3e8ee89a6b7d986adbb1c8 (patch)
tree3100f945556d63aeaa058af9f42a2c3172835edc /gcc/omp-low.c
parentd236c8038dfe895644d47100f68b8ca198d42b57 (diff)
downloadgcc-c39a5e99829ae233bd3e8ee89a6b7d986adbb1c8.zip
gcc-c39a5e99829ae233bd3e8ee89a6b7d986adbb1c8.tar.gz
gcc-c39a5e99829ae233bd3e8ee89a6b7d986adbb1c8.tar.bz2
re PR sanitizer/63813 ([UBSAN] ICE in ubsan_type_descriptor, at ubsan.c:346)
PR sanitizer/63813 * c-ubsan.c (ubsan_maybe_instrument_reference_or_call): Change type argument to ptype, set type to TREE_TYPE (ptype). Don't call get_pointer_alignment for non-pointers. Use ptype, or if it is reference type, corresponding pointer type, as type of kind argument. (ubsan_maybe_instrument_reference, ubsan_maybe_instrument_member_call): Adjust callers. * g++.dg/ubsan/pr63813.C: New test. From-SVN: r217741
Diffstat (limited to 'gcc/omp-low.c')
0 files changed, 0 insertions, 0 deletions