https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127000

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
0x000000000273a3c5 in gimple_simplify_CONVERT_EXPR (res_op=0x7fffffffaee0, 
    seq=0x0, valueize=0x1de0038 <rpo_vn_valueize(tree_node*)>, code=..., 
    type=<pointer_type 0x7ffff741e7e0 fp_t_2>, _p0=<ssa_name 0x7ffff74242c0 3>)
    at gimple-match-6.cc:8475
8475                                    tem =  build_fold_addr_expr_with_type
Value returned is $13 = (tree_node *) 0x7ffff74145a0

/* Canonicalize (T *)(ptr - ptr-cst) to &MEM[ptr + -ptr-cst].  */
(simplify
 (convert (pointer_diff @0 INTEGER_CST@1))
 (if (POINTER_TYPE_P (type))
  { build_fold_addr_expr_with_type
      (build2 (MEM_REF, char_type_node, @0,
               wide_int_to_tree (ptr_type_node, wi::neg (wi::to_wide (@1)))),
               type); }))

that doesn't really work.

Reply via email to