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

--- Comment #2 from Sergei Trofimovich <slyfox at gcc dot gnu.org> ---
A bit of debugging:

Program received signal SIGSEGV, Segmentation fault.
0x00000000007bfff6 in convert_for_assignment (location=location@entry=263654,
expr_loc=expr_loc@entry=0, type=type@entry=0x7fffea029000, rhs=0x7fffea000508,
    origtype=origtype@entry=0x0, errtype=errtype@entry=ic_init,
null_pointer_constant=false, fundecl=0x0, function=0x0, parmnum=0, warnopt=0)
    at /home/slyfox/dev/git/gcc/gcc/c/c-typeck.cc:7370
warning: Source file is more recent than executable.
7370                      && INTEGER_CST == TREE_CODE (TYPE_SIZE_UNIT (ttl))
(gdb) bt
#0  0x00000000007bfff6 in convert_for_assignment
(location=location@entry=263654, expr_loc=expr_loc@entry=0,
type=type@entry=0x7fffea029000, rhs=0x7fffea000508,
    origtype=origtype@entry=0x0, errtype=errtype@entry=ic_init,
null_pointer_constant=false, fundecl=0x0, function=0x0, parmnum=0, warnopt=0)
    at /home/slyfox/dev/git/gcc/gcc/c/c-typeck.cc:7370

(gdb) call debug_tree(ttl)
 <void_type 0x7fffea021f18 void VOID
    align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7fffea021f18
    pointer_to_this <pointer_type 0x7fffea029000>>

Reply via email to