hi, I work on a tool that need to get address of some memory access on ssa form. I call build_fold_addr_expr function to get address. I have finished it on gcc-9.3, and the tool can work correctly. When I port it to gcc-7.3, the expand pass report a corrupt. I find it is TARGET_MEM_REF not properly work. It happened on expr.c:7880, a gcc_assert. I check gcc-9.3 have a process for TARGET_MEM_REF, where (expr.c 7936) call the function addr_for_mem_ref. So I do not know how to properly to get address for TARGET_MEM_REF? Thanks for any advice!