https://gcc.gnu.org/g:4599a75a4b9f5eaf85657bbbebd88c9d82c9892c
commit 4599a75a4b9f5eaf85657bbbebd88c9d82c9892c Author: Mikael Morin <[email protected]> Date: Sat Oct 11 14:09:31 2025 +0200 gimple-simulate: Correction évaluation adresses Diff: --- gcc/gimple-simulate.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gcc/gimple-simulate.cc b/gcc/gimple-simulate.cc index a0212c2d83c1..503edc7fa056 100644 --- a/gcc/gimple-simulate.cc +++ b/gcc/gimple-simulate.cc @@ -2008,6 +2008,10 @@ simul_valueize (tree t) case VAL_KNOWN: return val.to_tree (TREE_TYPE (t)); + case VAL_ADDRESS: + gcc_assert (gimple_code (def) == GIMPLE_ASSIGN); + return gimple_assign_rhs1 (def); + default: gcc_unreachable (); }
