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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |rguenth at gcc dot 
gnu.org
   Target Milestone|12.0                        |---
             Status|NEW                         |ASSIGNED

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
#3  0x000000000140112e in expand_DEFERRED_INIT (stmt=0x7ffff65728e8)
    at /home/rguenther/src/gcc3/gcc/internal-fn.c:3101
3101          expand_assignment (lhs, init, false);
(gdb) p lhs
$3 = <view_convert_expr 0x7ffff66a49a0>
(gdb) p debug_generic_expr ($3)
VIEW_CONVERT_EXPR<unsigned long>(PtrMem_1)
(gdb) p debug_tree ($3)
 <view_convert_expr 0x7ffff66a49a0
    type <integer_type 0x7ffff656b1f8 public unsigned DI
        size <integer_cst 0x7ffff6543f30 constant 64>
        unit-size <integer_cst 0x7ffff6543f48 constant 8>
        align:64 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7ffff656b1f8 precision:64 min <integer_cst 0x7ffff6565360 0> max <integer_cst
0x7ffff65446a0 18446744073709551615>>

    arg:0 <ssa_name 0x7ffff654ee58
        type <offset_type 0x7ffff66acc78 type <integer_type 0x7ffff65635e8 int>
            sizes-gimplified DI size <integer_cst 0x7ffff6543f30 64> unit-size
<integer_cst 0x7ffff6543f48 8>
            align:64 warn_if_not_align:0 symtab:0 alias-set 1 canonical-type
0x7ffff66acc78 basetype <record_type 0x7ffff66acb28 S>>
        var <var_decl 0x7ffff7ff5cf0 PtrMem>
        def_stmt PtrMem_1 = .DEFERRED_INIT (8, 1, 0);
        version:1>>

and we ended up putting the LHS to the stack.  We have to avoid using
a V_C_E on a SSA name on the LHS.

Reply via email to