aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.c
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2020-12-11 10:07:10 +0100
committerRichard Biener <rguenther@suse.de>2020-12-11 10:10:11 +0100
commitfa4a8b6463e0dbc2a072fca835d28ae7a57849d5 (patch)
tree66c63e0463d2c2e76bbf2a7aa7100d0534b71fdb /gcc/expr.c
parent99d6ba6acb2e31fa4828a93f1561c02ee36ac89a (diff)
downloadgcc-fa4a8b6463e0dbc2a072fca835d28ae7a57849d5.zip
gcc-fa4a8b6463e0dbc2a072fca835d28ae7a57849d5.tar.gz
gcc-fa4a8b6463e0dbc2a072fca835d28ae7a57849d5.tar.bz2
tree-optimization/95582 - fix vector pattern with bool conversions
The pattern recognizer fends off against recognizing conversions from VECT_SCALAR_BOOLEAN_TYPE_P to precision one types but what it really needs to fend off is conversions between VECT_SCALAR_BOOLEAN_TYPE_P types - the Ada FE uses an 8 bit boolean type that satisfies this predicate. 2020-12-11 Richard Biener <rguenther@suse.de> PR tree-optimization/95582 * tree-vect-patterns.c (vect_recog_bool_pattern): Check for VECT_SCALAR_BOOLEAN_TYPE_P, not just precision one.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions