aboutsummaryrefslogtreecommitdiff
path: root/gcc/vr-values.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@gcc.gnu.org>2019-11-05 08:46:03 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2019-11-05 08:46:03 +0100
commit80d7f5d32237ffb207f232a6f4d5a25bff681ef1 (patch)
tree20b5ccf88623daa64bbcd8ed163202c8695e8733 /gcc/vr-values.c
parent2b13f5a622305877357be223d2a4a11c5ad1d499 (diff)
downloadgcc-80d7f5d32237ffb207f232a6f4d5a25bff681ef1.zip
gcc-80d7f5d32237ffb207f232a6f4d5a25bff681ef1.tar.gz
gcc-80d7f5d32237ffb207f232a6f4d5a25bff681ef1.tar.bz2
decl.c (omp_declare_variant_finalize_one): Call declare_simd_adjust_this not just on the context...
* decl.c (omp_declare_variant_finalize_one): Call declare_simd_adjust_this not just on the context, but also on the variant-id expression for methods. Don't call cp_get_callee_fndecl_nofold, call cp_get_callee and only if it is safe cp_get_fndecl_from_callee. Don't try to print as %qD NULL in diagnostics. * pt.c (tsubst_attribute): Handle "omp declare variant base" attribute. (tsubst_function_decl): Call omp_declare_variant_finalize if there are any "omp declare variant base" attributes left. * g++.dg/gomp/declare-variant-7.C: New test. * g++.dg/gomp/declare-variant-8.C: New test. From-SVN: r277814
Diffstat (limited to 'gcc/vr-values.c')
0 files changed, 0 insertions, 0 deletions