diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-10-21 10:27:44 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-10-21 10:27:44 +0200 |
commit | 40dd9d839e52f679d8eabc1c5ca0ca17a5ccfd14 (patch) | |
tree | cf28a9c3377ca7370842f1475794b2f021d036ca /gcc/tree-ssa-threadbackward.c | |
parent | 113860301f46d14a255bd947d18d36f917527230 (diff) | |
download | gcc-40dd9d839e52f679d8eabc1c5ca0ca17a5ccfd14.zip gcc-40dd9d839e52f679d8eabc1c5ca0ca17a5ccfd14.tar.gz gcc-40dd9d839e52f679d8eabc1c5ca0ca17a5ccfd14.tar.bz2 |
openmp: For default(none) ignore variables created by ubsan_create_data [PR64888]
We weren't ignoring the ubsan variables created by c-ubsan.c before gimplification
(others are added later). One way to fix this would be to introduce further
UBSAN_ internal functions and lower it later (sanopt pass) like other ifns,
this patch instead recognizes those magic vars by name/name of type and DECL_ARTIFICIAL
and TYPE_ARTIFICIAL.
2021-10-21 Jakub Jelinek <jakub@redhat.com>
PR middle-end/64888
gcc/c-family/
* c-omp.c (c_omp_predefined_variable): Return true also for
ubsan_create_data created artificial variables.
gcc/testsuite/
* c-c++-common/ubsan/pr64888.c: New test.
Diffstat (limited to 'gcc/tree-ssa-threadbackward.c')
0 files changed, 0 insertions, 0 deletions