diff options
author | Richard Biener <rguenther@suse.de> | 2025-08-11 09:42:09 +0200 |
---|---|---|
committer | Richard Biener <rguenth@gcc.gnu.org> | 2025-08-11 15:44:23 +0200 |
commit | f2a85db9eee7d761692ca8f69ea1a20d32715bad (patch) | |
tree | f9db300814540a21a61c23cb940aa7047e3ea61e /gcc/testsuite/rust/compile/issue-3652.rs | |
parent | 45a56f42b4909e2ae0d1ad35dab05c5c092a14bc (diff) | |
download | gcc-master.zip gcc-master.tar.gz gcc-master.tar.bz2 |
When a BIT_FIELD_REF lookup combined with a defining load RHS results
in a wrongly typed result, try looking up or inserting a VIEW_CONVERT_EXPR
to the desired type.
PR tree-optimization/121488
* tree-ssa-sccvn.cc (visit_nary_op): If the BIT_FIELD_REF
result is of wrong type, try a VIEW_CONVERT_EXPR around it.
* gcc.dg/tree-ssa/ssa-fre-108.c: New testcase.
Diffstat (limited to 'gcc/testsuite/rust/compile/issue-3652.rs')
0 files changed, 0 insertions, 0 deletions