aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/rust/execute/torture/trait3.rs
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2025-08-11 09:42:09 +0200
committerRichard Biener <rguenth@gcc.gnu.org>2025-08-11 15:44:23 +0200
commitf2a85db9eee7d761692ca8f69ea1a20d32715bad (patch)
treef9db300814540a21a61c23cb940aa7047e3ea61e /gcc/testsuite/rust/execute/torture/trait3.rs
parent45a56f42b4909e2ae0d1ad35dab05c5c092a14bc (diff)
downloadgcc-master.zip
gcc-master.tar.gz
gcc-master.tar.bz2
tree-optimization/121488 - improve BIT_FIELD_REF lookup in VNHEADtrunkmaster
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/execute/torture/trait3.rs')
0 files changed, 0 insertions, 0 deletions