aboutsummaryrefslogtreecommitdiff
path: root/gcc/highlev-plugin-common.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2023-11-28 13:02:35 -0500
committerAndrew MacLeod <amacleod@redhat.com>2023-11-29 11:43:53 -0500
commit634cf26c94de620e66aa124b8ec4d6c2be4b74b2 (patch)
tree72d2ca593e41e4f7fc6c111480ae536c57259157 /gcc/highlev-plugin-common.h
parentea19de921b01a6ab470929f8da4dde526edb08f1 (diff)
downloadgcc-634cf26c94de620e66aa124b8ec4d6c2be4b74b2.zip
gcc-634cf26c94de620e66aa124b8ec4d6c2be4b74b2.tar.gz
gcc-634cf26c94de620e66aa124b8ec4d6c2be4b74b2.tar.bz2
Check operands before invoking fold_range.
Call check_operands_p before fold_range to make sure it is a valid operation. PR tree-optimization/111922 gcc/ * ipa-cp.cc (ipa_vr_operation_and_type_effects): Check the operands are valid before calling fold_range. gcc/testsuite/ * gcc.dg/pr111922.c: New.
Diffstat (limited to 'gcc/highlev-plugin-common.h')
0 files changed, 0 insertions, 0 deletions