diff options
author | Richard Biener <rguenther@suse.de> | 2022-11-16 15:27:13 +0100 |
---|---|---|
committer | Richard Biener <rguenther@suse.de> | 2022-11-16 17:07:39 +0100 |
commit | 246bbdaa5f536b7a199dda9860c473137f40d622 (patch) | |
tree | 90dec2ce88b255a9e5bbfd65ebe68e353a977c85 /gcc/range-op-float.cc | |
parent | 8a5f3663f8de45b7030dfe7ce962783dc1a19885 (diff) | |
download | gcc-246bbdaa5f536b7a199dda9860c473137f40d622.zip gcc-246bbdaa5f536b7a199dda9860c473137f40d622.tar.gz gcc-246bbdaa5f536b7a199dda9860c473137f40d622.tar.bz2 |
tree-optimization/107686 - fix bitfield ref through vec_unpack optimization
The following propely restricts the bitfield access to integral types
when we look through VEC_UNPACK with the intent to emit a widening
conversion.
PR tree-optimization/107686
* tree-ssa-forwprop.cc (optimize_vector_load): Restrict
VEC_UNPACK support to integral typed bitfield refs.
* gcc.dg/pr107686.c: New testcase.
Diffstat (limited to 'gcc/range-op-float.cc')
0 files changed, 0 insertions, 0 deletions