aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-vectorizer.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2021-08-09 15:53:42 -0400
committerAndrew MacLeod <amacleod@redhat.com>2021-08-09 16:24:05 -0400
commitc86c95edd165d674614516cda0b1fcb6616c1096 (patch)
tree6913e1adb20c43817eff84403208ff1bf0ed58e2 /gcc/tree-vectorizer.h
parentf5a2d78072fc161e8ca3117126030041f1503c3f (diff)
downloadgcc-c86c95edd165d674614516cda0b1fcb6616c1096.zip
gcc-c86c95edd165d674614516cda0b1fcb6616c1096.tar.gz
gcc-c86c95edd165d674614516cda0b1fcb6616c1096.tar.bz2
Ensure toupper and tolower follow the expected pattern.
If the parameter is not compatible with the LHS, assume this is not really a builtin function to avoid a trap. gcc/ PR tree-optimization/101741 * gimple-range-fold.cc (fold_using_range::range_of_builtin_call): Check type of parameter for toupper/tolower. gcc/testsuite/ * gcc.dg/pr101741.c: New.
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions