http://bugzilla.gdcproject.org/show_bug.cgi?id=215
Bug ID: 215 Summary: Failing ARM test case on master (ICE) Product: GDC Version: development Hardware: ARM OS: All Status: NEW Severity: normal Priority: Normal Component: gdc Assignee: ibuc...@gdcproject.org Reporter: johannesp...@gmail.com Test case: ------------------------ template MT(string id) { union { mixin("void* " ~ id ~ ";"); } // Evaluating `typeof(this).init` completes data layout. pragma(msg, this.init); } struct S1 { mixin MT!"x"; mixin MT!"y"; } void main() { S1 s ; s.x = null; } ------------------------ ------------------------ gdc /mnt/usb/GDC/test.reduced/test13613.d :( S1(null, null) S1(null, null) /mnt/usb/GDC/test.reduced/test13613.d: In function 'D main': /mnt/usb/GDC/test.reduced/test13613.d:22:5: internal compiler error: Segmentation fault s.x = null; ^ 0x767bf3 crash_signal ../../gcc-5.3.0/gcc/toplev.c:383 0x4d2d4b is_gimple_ip_invariant_address(tree_node const*) ../../gcc-5.3.0/gcc/gimple-expr.c:744 0x55d21b gimplify_compound_lval ../../gcc-5.3.0/gcc/gimplify.c:2041 0x554233 gimplify_expr(tree_node**, gimple_statement_base**, gimple_statement_base**, bool (*)(tree_node*), int) ../../gcc-5.3.0/gcc/gimplify.c:8052 0x56208b gimplify_modify_expr ../../gcc-5.3.0/gcc/gimplify.c:4627 0x555b77 gimplify_expr(tree_node**, gimple_statement_base**, gimple_statement_base**, bool (*)(tree_node*), int) ../../gcc-5.3.0/gcc/gimplify.c:8100 0x558f0b gimplify_stmt(tree_node**, gimple_statement_base**) ../../gcc-5.3.0/gcc/gimplify.c:5519 0x554b9f gimplify_statement_list ../../gcc-5.3.0/gcc/gimplify.c:1487 0x554b9f gimplify_expr(tree_node**, gimple_statement_base**, gimple_statement_base**, bool (*)(tree_node*), int) ../../gcc-5.3.0/gcc/gimplify.c:8515 0x558f0b gimplify_stmt(tree_node**, gimple_statement_base**) ../../gcc-5.3.0/gcc/gimplify.c:5519 0x559eb7 gimplify_bind_expr ../../gcc-5.3.0/gcc/gimplify.c:1136 0x555f13 gimplify_expr(tree_node**, gimple_statement_base**, gimple_statement_base**, bool (*)(tree_node*), int) ../../gcc-5.3.0/gcc/gimplify.c:8297 0x558f0b gimplify_stmt(tree_node**, gimple_statement_base**) ../../gcc-5.3.0/gcc/gimplify.c:5519 0x55ab7b gimplify_body(tree_node*, bool) ../../gcc-5.3.0/gcc/gimplify.c:9234 0x55b1c7 gimplify_function_tree(tree_node*) ../../gcc-5.3.0/gcc/gimplify.c:9388 0x386587 cgraph_node::analyze() ../../gcc-5.3.0/gcc/cgraphunit.c:633 0x3898f7 analyze_functions ../../gcc-5.3.0/gcc/cgraphunit.c:1023 0x38a28b symbol_table::finalize_compilation_unit() ../../gcc-5.3.0/gcc/cgraphunit.c:2452 0x2cc677 d_finish_compilation(tree_node**, int) ../../gcc-5.3.0/gcc/d/d-objfile.cc:1946 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <http://bugzilla.gdcproject.org> for instructions. ------------------------ (Same error with GCC6 snapshot) -- You are receiving this mail because: You are watching all bug changes.