https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117164
--- Comment #3 from uecker at gcc dot gnu.org ---
Adding debug_tree for lhs and fntype in verify_gimple right before the "invalid
conversion in gimple call" (should the debug_generic_stmt already give me this
information somehow?)
<mem_ref 0x7f5eb95d8aa0
type <record_type 0x7f5eb95d29d8 S sizes-gimplified type_1 type_6 BLK
size <var_decl 0x7f5eb95ea6c0 D.2408 type <integer_type 0x7f5eb94220a8
bitsizetype>
used unsigned ignored TI
../gcc/gcc/testsuite/gcc.dg/nested-func-12.c:9:10
size <integer_cst 0x7f5eb9402f90 constant 128>
unit-size <integer_cst 0x7f5eb9402fa8 constant 16>
align:128 warn_if_not_align:0 context <function_decl 0x7f5eb959f100
main> abstract_origin <var_decl 0x7f5eb95a15a0 D.2245>>
unit-size <var_decl 0x7f5eb95ea750 D.2409 type <integer_type
0x7f5eb9422000 sizetype>
used unsigned ignored DI
../gcc/gcc/testsuite/gcc.dg/nested-func-12.c:9:10
size <integer_cst 0x7f5eb9402f48 constant 64>
unit-size <integer_cst 0x7f5eb9402f60 constant 8>
align:64 warn_if_not_align:0 context <function_decl 0x7f5eb959f100
main> abstract_origin <var_decl 0x7f5eb95a1630 D.2246>
value-expr <component_ref 0x7f5eb959bb70 type <integer_type
0x7f5eb9422000 sizetype>
arg:0 <var_decl 0x7f5eb95a8b40 FRAME.5> arg:1 <field_decl
0x7f5eb94308e8 D.2291>>>
align:32 warn_if_not_align:0 symtab:0 alias-set -1 structural-equality
fields <field_decl 0x7f5eb95d3130 a type <array_type 0x7f5eb95d2a80>
used decl_0 BLK ../gcc/gcc/testsuite/gcc.dg/nested-func-12.c:9:18
size <var_decl 0x7f5eb95ea5a0 D.2406> unit-size <var_decl 0x7f5eb95ea630
D.2407>
align:32 warn_if_not_align:0 offset_align 128 decl_not_flexarray: 0
offset <integer_cst 0x7f5eb9402f78 constant 0>
bit-offset <integer_cst 0x7f5eb9402fc0 constant 0> context
<record_type 0x7f5eb95d29d8 S>> context <function_decl 0x7f5eb9575b00 foo>
pointer_to_this <pointer_type 0x7f5eb95d2bd0> chain <type_decl
0x7f5eb95d3098 D.2401>>
nothrow
arg:0 <ssa_name 0x7f5eb95d4678
type <pointer_type 0x7f5eb95d2bd0 type <record_type 0x7f5eb95d29d8 S>
unsigned DI size <integer_cst 0x7f5eb9402f48 64> unit-size
<integer_cst 0x7f5eb9402f60 8>
align:64 warn_if_not_align:0 symtab:0 alias-set -1
structural-equality>
var <var_decl 0x7f5eb95eaab0 D.2415>
def_stmt _7 = __builtin_alloca_with_align (_5, 32);
version:7>
arg:1 <integer_cst 0x7f5eb95a2108 type <pointer_type 0x7f5eb95a02a0>
constant 0>>
<function_type 0x7f5eb9572e70
type <record_type 0x7f5eb95721f8 S sizes-gimplified type_1 type_6 BLK
size <var_decl 0x7f5eb95a15a0 D.2245 type <integer_type 0x7f5eb94220a8
bitsizetype>
used unsigned ignored TI
../gcc/gcc/testsuite/gcc.dg/nested-func-12.c:9:10
size <integer_cst 0x7f5eb9402f90 constant 128>
unit-size <integer_cst 0x7f5eb9402fa8 constant 16>
align:128 warn_if_not_align:0 context <function_decl 0x7f5eb9575b00
foo>>
unit-size <var_decl 0x7f5eb95a1630 D.2246 type <integer_type
0x7f5eb9422000 sizetype>
used unsigned ignored DI
../gcc/gcc/testsuite/gcc.dg/nested-func-12.c:9:10
size <integer_cst 0x7f5eb9402f48 constant 64>
unit-size <integer_cst 0x7f5eb9402f60 constant 8>
align:64 warn_if_not_align:0 context <function_decl 0x7f5eb9575b00
foo>
value-expr <component_ref 0x7f5eb959bb70 type <integer_type
0x7f5eb9422000 sizetype>
arg:0 <var_decl 0x7f5eb95a8b40 FRAME.5> arg:1 <field_decl
0x7f5eb94308e8 D.2291>>>
align:32 warn_if_not_align:0 symtab:0 alias-set -1 structural-equality
fields <field_decl 0x7f5eb9430688 a type <array_type 0x7f5eb9572dc8>
decl_0 BLK ../gcc/gcc/testsuite/gcc.dg/nested-func-12.c:9:18 size
<var_decl 0x7f5eb95a12d0 D.2240> unit-size <var_decl 0x7f5eb95a1360 D.2241>
align:32 warn_if_not_align:0 offset_align 128 decl_not_flexarray: 0
offset <integer_cst 0x7f5eb9402f78 constant 0>
bit-offset <integer_cst 0x7f5eb9402fc0 constant 0> context
<record_type 0x7f5eb95721f8 S>> context <function_decl 0x7f5eb9575b00 foo>
pointer_to_this <pointer_type 0x7f5eb95a02a0> chain <type_decl
0x7f5eb94305f0 D.2216>>
type_6 QI
size <integer_cst 0x7f5eb9424048 type <integer_type 0x7f5eb94220a8
bitsizetype> constant 8>
unit-size <integer_cst 0x7f5eb9424060 type <integer_type 0x7f5eb9422000
sizetype> constant 1>
align:8 warn_if_not_align:0 symtab:0 alias-set -1 structural-equality
arg-types <tree_list 0x7f5eb941cd98
value <void_type 0x7f5eb9422f18 void VOID
align:8 warn_if_not_align:0 symtab:0 alias-set -1 canonical-type
0x7f5eb9422f18
pointer_to_this <pointer_type 0x7f5eb942a000>>>
pointer_to_this <pointer_type 0x7f5eb9572f18>>
../gcc/gcc/testsuite/gcc.dg/nested-func-12.c: In function ‘main’:
../gcc/gcc/testsuite/gcc.dg/nested-func-12.c:45:1: error: invalid conversion in
gimple call