<html>
<head>
<base href="http://bugzilla.gdcproject.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Failing ARM test case on master (ICE)"
href="http://bugzilla.gdcproject.org/show_bug.cgi?id=215">215</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Failing ARM test case on master (ICE)
</td>
</tr>
<tr>
<th>Product</th>
<td>GDC
</td>
</tr>
<tr>
<th>Version</th>
<td>development
</td>
</tr>
<tr>
<th>Hardware</th>
<td>ARM
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>Normal
</td>
</tr>
<tr>
<th>Component</th>
<td>gdc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>ibuclaw@gdcproject.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>johannespfau@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>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 <<a href="http://bugzilla.gdcproject.org">http://bugzilla.gdcproject.org</a>> for instructions.
------------------------
(Same error with GCC6 snapshot)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are watching all bug changes.</li>
</ul>
</body>
</html>