Jan Hubicka <hubi...@ucw.cz> writes:

> Does the patch in https://gcc.gnu.org/ml/gcc-patches/2015-10/msg00902.html 
> help?

No, it doesn't.

#0  fancy_abort (file=0x4000000003f1ce48 "../../gcc/expr.c", line=282, 
    function=0x4000000003f1ec38 <convert_move(rtx_def*, rtx_def*, 
int)::__FUNCTION__> "convert_move") at ../../gcc/diagnostic.c:1209
#1  0x4000000001a816e0 in convert_move (to=0x200000000101b0a0, 
    from=0x200000000101b088, unsignedp=1) at ../../gcc/expr.c:282
#2  0x4000000001a87580 in convert_modes (mode=DImode, oldmode=BLKmode, 
    x=0x200000000101b088, unsignedp=1) at ../../gcc/expr.c:736
#3  0x4000000001a60e10 in store_field (target=0x20000000010196d8, bitsize=64, 
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
    bitpos=0, bitregion_start=0, bitregion_end=63, mode=DImode, exp=, 
    alias_set=12, nontemporal=false) at ../../gcc/expr.c:6668
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
#4  0x4000000001aa3e20 in expand_assignment (to=, from=, nontemporal=false)
    at ../../gcc/expr.c:5017
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
#5  0x40000000016720a0 in expand_gimple_stmt_1 (stmt=)
    at ../../gcc/cfgexpand.c:3584
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
#6  0x4000000001672ed0 in expand_gimple_stmt (stmt=)
    at ../../gcc/cfgexpand.c:3680
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
#7  0x4000000001676f50 in expand_gimple_basic_block (bb=, 
    disable_tail_calls=false) at ../../gcc/cfgexpand.c:5684
#8  0x4000000001679b50 in (anonymous namespace)::pass_expand::execute (
    this=0x600000000080f080, fun=0x2000000000f27ea8)
    at ../../gcc/cfgexpand.c:6296
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
#9  0x40000000022ffbf0 in execute_one_pass (pass=) at ../../gcc/passes.c:2342
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
#10 0x4000000002300980 in execute_pass_list_1 (pass=)
    at ../../gcc/passes.c:2395
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
#11 0x4000000002300b60 in execute_pass_list (fn=0x2000000000f27ea8, pass=)
    at ../../gcc/passes.c:2406
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
#12 0x4000000001765ea0 in cgraph_node::expand (this=)
    at ../../gcc/cgraphunit.c:1983
#13 0x4000000001770640 in expand_all_functions ()
    at ../../gcc/cgraphunit.c:2119
#14 0x4000000001771210 in symbol_table::compile (this=0x2000000000db0000)
    at ../../gcc/cgraphunit.c:2472
#15 0x40000000017744d0 in symbol_table::finalize_compilation_unit (
    this=0x2000000000db0000) at ../../gcc/cgraphunit.c:2562
#16 0x40000000026c6530 in compile_file () at ../../gcc/toplev.c:508
#17 0x40000000026cc2e0 in do_compile () at ../../gcc/toplev.c:1973
#18 0x40000000026ccb70 in toplev::main (this=0x600ffffffffeef80, argc=30, 
    argv=0x600ffffffffef238) at ../../gcc/toplev.c:2080
#19 0x4000000003c92330 in main (argc=30, argv=0x600ffffffffef238)
    at ../../gcc/main.c:39
(gdb) up
#1  0x4000000001a816e0 in convert_move (to=0x200000000101b0a0, 
    from=0x200000000101b088, unsignedp=1) at ../../gcc/expr.c:282
282       gcc_assert (from_mode != BLKmode);
(gdb) p to
$1 = (rtx) 0x200000000101b0a0
(gdb) pr
warning: Expression is not an assignment (and might have no effect)
(reg:DI 413)
(gdb) p from
$2 = (rtx) 0x200000000101b088
(gdb) pr
warning: Expression is not an assignment (and might have no effect)
(mem/c:BLK (reg/f:DI 412) [12 D.2156+0 S8 A128])
(gdb) f 4
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
#4  0x4000000001aa3e20 in expand_assignment (to=, from=, nontemporal=false)
    at ../../gcc/expr.c:5017
5017                                      get_alias_set (to), nontemporal);
(gdb) p to
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
$3 = 
(gdb) pt
warning: Expression is not an assignment (and might have no effect)
 <component_ref 0x2000000000d33e40
    type <record_type 0x2000000000f287d8 uintp__save_mark sizes-gimplified DI
        size <integer_cst 0x2000000000d62250 constant 64>
        unit size <integer_cst 0x2000000000d62268 constant 8>
        user align 64 symtab 0 alias set 12 canonical type 0x2000000000f287d8
        fields <field_decl 0x2000000000e349a0 save_uint type <integer_type 
0x2000000000f276c8 uintp__uint___XDLU_600000000__2099999999>
            unsigned nonaddressable SI file ../../gcc/ada/uintp.ads line 507 
col 9
            size <integer_cst 0x2000000000d62490 constant 32>
            unit size <integer_cst 0x2000000000d624a8 constant 4>
            align 32 offset_align 128
            offset <integer_cst 0x2000000000d62280 constant 0>
            bit offset <integer_cst 0x2000000000d622c8 constant 0> context 
<record_type 0x2000000000f287d8 uintp__save_mark> original field <field_decl 
0x2000000000e347d8 save_uint> chain <field_decl 0x2000000000e34a38 
save_udigit>> Ada size <integer_cst 0x2000000000d62250 64>
        chain <type_decl 0x2000000000e34ad0 uintp__save_mark>>
   
    arg 0 <var_decl 0x2000000000df1170 uintp_mark
        type <record_type 0x2000000000f28730 
eval_fat__decompose_int__uintp_mark___PAD sizes-gimplified type_5 DI size 
<integer_cst 0x2000000000d62250 64> unit size <integer_cst 0x2000000000d62268 8>
            align 64 symtab 0 alias set -1 canonical type 0x2000000000f28730 
fields <field_decl 0x2000000000e34b68 F> context <function_decl 
0x2000000000f3ab00 eval_fat__decompose_int> Ada size <integer_cst 
0x2000000000d62250 64>
            pointer_to_this <pointer_type 0x2000000000f2e070> chain <type_decl 
0x2000000000e34c00 eval_fat__decompose_int__uintp_mark___PAD>>
        used DI file ../../gcc/ada/eval_fat.adb line 179 col 7 size 
<integer_cst 0x2000000000d62250 64> unit size <integer_cst 0x2000000000d62268 8>
        align 64 context <function_decl 0x2000000000f3ab00 
eval_fat__decompose_int>
        (reg/v:DI 398 [ uintp_mark ])>
    arg 1 <field_decl 0x2000000000e34b68 F type <record_type 0x2000000000f287d8 
uintp__save_mark>
        decl_3 DI file ../../gcc/ada/uintp.ads line 507 col 9 size <integer_cst 
0x2000000000d62250 64> unit size <integer_cst 0x2000000000d62268 8>
        user align 64 offset_align 128 offset <integer_cst 0x2000000000d62280 
0> bit offset <integer_cst 0x2000000000d622c8 0> context <record_type 
0x2000000000f28730 eval_fat__decompose_int__uintp_mark___PAD>>>
(gdb) p from
Python Exception <type 'exceptions.AttributeError'> 'tuple' object has no 
attribute 'major': 
$4 = 
(gdb) pt
warning: Expression is not an assignment (and might have no effect)
 <var_decl 0x2000000000df5fa0 D.2156
    type <record_type 0x2000000000f28688 uintp__save_mark sizes-gimplified 
visited no-force-blk BLK
        size <integer_cst 0x2000000000d62250 constant 64>
        unit size <integer_cst 0x2000000000d62268 constant 8>
        align 32 symtab 0 alias set 12 canonical type 0x2000000000f28688
        fields <field_decl 0x2000000000e347d8 save_uint type <integer_type 
0x2000000000f276c8 uintp__uint___XDLU_600000000__2099999999>
            unsigned nonaddressable SI file ../../gcc/ada/uintp.ads line 508 
col 7
            size <integer_cst 0x2000000000d62490 constant 32>
            unit size <integer_cst 0x2000000000d624a8 constant 4>
            align 32 offset_align 128
            offset <integer_cst 0x2000000000d62280 constant 0>
            bit offset <integer_cst 0x2000000000d622c8 constant 0> context 
<record_type 0x2000000000f28688 uintp__save_mark> chain <field_decl 
0x2000000000e34870 save_udigit>> context <translation_unit_decl 
0x2000000000d20078 D.19> Ada size <integer_cst 0x2000000000d62250 64>
        pointer_to_this <pointer_type 0x2000000000f2f180> chain <type_decl 
0x2000000000e34908 uintp__save_mark>>
    used ignored BLK file ../../gcc/ada/eval_fat.adb line 191 col 21 size 
<integer_cst 0x2000000000d62250 64> unit size <integer_cst 0x2000000000d62268 8>
    align 128 context <function_decl 0x2000000000f3ab00 eval_fat__decompose_int>
    (mem/c:BLK (plus:DI (reg/f:DI 335 virtual-stack-vars)
        (const_int 48 [0x30])) [12 D.2156+0 S8 A128]) chain <var_decl 
0x2000000000df6030 D.2158>>

Andreas.

-- 
Andreas Schwab, SUSE Labs, sch...@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

Reply via email to