diff options
author | Richard Biener <rguenther@suse.de> | 2024-11-12 11:15:15 +0100 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2024-11-12 13:03:39 +0100 |
commit | d976daa931642d940b7b27032ca6139210c07eed (patch) | |
tree | 84ba82a9698a58380b65e54a95a3527b08ecf320 /gcc/ada/raise-gcc.c | |
parent | a552a808f004c90d6f880f296041d674bdc27eda (diff) | |
download | gcc-d976daa931642d940b7b27032ca6139210c07eed.zip gcc-d976daa931642d940b7b27032ca6139210c07eed.tar.gz gcc-d976daa931642d940b7b27032ca6139210c07eed.tar.bz2 |
tree-optimization/117417 - ICE with complex load optimization
When we decompose a complex load only used as real and imaginary
parts we fail to honor IL constraints which are that a BIT_FIELD_REF
of register type should be outermost in a ref. The following
simply avoids the transform when the complex load has such a
BIT_FIELD_REF.
PR tree-optimization/117417
* tree-ssa-forwprop.cc (pass_forwprop::execute): Avoid
decomposing BIT_FIELD_REF complex load.
* gcc.dg/torture/pr117417.c: New testcase.
Diffstat (limited to 'gcc/ada/raise-gcc.c')
0 files changed, 0 insertions, 0 deletions