aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2024-03-04 13:28:34 +0100
committerRichard Biener <rguenther@suse.de>2024-03-04 14:55:39 +0100
commit8fdac08b4d5f65973164a476bd255533ed97a766 (patch)
treebb1b59e0a7881e540d2fd7ee5d7b474799d436f3 /gcc/c-family
parenta19ab1c42aba47fbfb122a6160f504565aef0943 (diff)
downloadgcc-8fdac08b4d5f65973164a476bd255533ed97a766.zip
gcc-8fdac08b4d5f65973164a476bd255533ed97a766.tar.gz
gcc-8fdac08b4d5f65973164a476bd255533ed97a766.tar.bz2
tree-optimization/114197 - unexpected if-conversion for vectorization
The following avoids lowering a volatile bitfiled access and in case the if-converted and original loops end up in different outer loops because of simplifcations enabled scrap the result since that is not how the vectorizer expects the loops to be laid out. PR tree-optimization/114197 * tree-if-conv.cc (bitfields_to_lower_p): Do not lower if there are volatile bitfield accesses. (pass_if_conversion::execute): Throw away result if the if-converted and original loops are not nested as expected. * gcc.dg/torture/pr114197.c: New testcase.
Diffstat (limited to 'gcc/c-family')
0 files changed, 0 insertions, 0 deletions