summaryrefslogtreecommitdiff
path: root/COPYING3.LIB
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2022-06-17 17:40:49 +0200
committerJakub Jelinek <jakub@redhat.com>2022-06-17 17:40:49 +0200
commita284fadcce8ef443cc3cc047a8017745efb51758 (patch)
tree737d64112ba8671d790579884f1e70b0ac9be8c1 /COPYING3.LIB
parentcc378e655740e93743e7f43e14faaff707aef6c1 (diff)
downloadgcc-a284fadcce8ef443cc3cc047a8017745efb51758.tar.gz
c++: Use fold_non_dependent_expr rather than maybe_constant_value in __builtin_shufflevector handling [PR106001]
In this case the STATIC_CAST_EXPR expressions in the call aren't type nor value dependent, but maybe_constant_value still ICEs on those when processing_template_decl. Calling fold_non_dependent_expr on it instead fixes the ICE and folds them to INTEGER_CSTs. 2022-06-17 Jakub Jelinek <jakub@redhat.com> PR c++/106001 * typeck.cc (build_x_shufflevector): Use fold_non_dependent_expr instead of maybe_constant_value. * g++.dg/ext/builtin-shufflevector-4.C: New test.
Diffstat (limited to 'COPYING3.LIB')
0 files changed, 0 insertions, 0 deletions