<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 - Internal compiler error: Segmentation fault"
   href="http://bugzilla.gdcproject.org/show_bug.cgi?id=118">118</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Internal compiler error: Segmentation fault
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>GDC
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>development
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86_64
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </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>kayo@illumium.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When I try to build dub (<a href="https://github.com/rejectedsoftware/dub">https://github.com/rejectedsoftware/dub</a>), I get an
internal compiler error:

source/dub/dub.d: In member function 'getPackage':
source/dub/dub.d:725: internal compiler error: Segmentation fault
0x98c91f crash_signal
    ../../gcc-4.9/gcc/toplev.c:337
0xb43015 tsi_stmt
    ../../gcc-4.9/gcc/tree-iterator.h:92
0xb43015 try_catch_may_fallthru
    ../../gcc-4.9/gcc/tree.c:12188
0xb43015 block_may_fallthru(tree_node const*)
    ../../gcc-4.9/gcc/tree.c:12258
0x81a263 shortcut_cond_expr
    ../../gcc-4.9/gcc/gimplify.c:2723
0x8218dc gimplify_cond_expr
    ../../gcc-4.9/gcc/gimplify.c:2998
0x81c6ff gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc-4.9/gcc/gimplify.c:7435
0x81f546 gimplify_stmt(tree_node**, gimple_statement_base**)
    ../../gcc-4.9/gcc/gimplify.c:5372
0x81fde6 gimplify_bind_expr
    ../../gcc-4.9/gcc/gimplify.c:1098
0x81c90a gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc-4.9/gcc/gimplify.c:7676
0x81f546 gimplify_stmt(tree_node**, gimple_statement_base**)
    ../../gcc-4.9/gcc/gimplify.c:5372
0x81d9eb gimplify_statement_list
    ../../gcc-4.9/gcc/gimplify.c:1431
0x81d9eb gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc-4.9/gcc/gimplify.c:7894
0x81f546 gimplify_stmt(tree_node**, gimple_statement_base**)
    ../../gcc-4.9/gcc/gimplify.c:5372
0x81dd01 gimplify_and_add
    ../../gcc-4.9/gcc/gimplify.c:384
0x81dd01 gimplify_loop_expr
    ../../gcc-4.9/gcc/gimplify.c:1405
0x81dd01 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc-4.9/gcc/gimplify.c:7680
0x81f546 gimplify_stmt(tree_node**, gimple_statement_base**)
    ../../gcc-4.9/gcc/gimplify.c:5372
0x81d9eb gimplify_statement_list
    ../../gcc-4.9/gcc/gimplify.c:1431
0x81d9eb gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
    ../../gcc-4.9/gcc/gimplify.c:7894
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <<a href="http://gcc.gnu.org/bugs.html">http://gcc.gnu.org/bugs.html</a>> for instructions.

Link to problematic source on github:
<a href="https://github.com/rejectedsoftware/dub/blob/d4d026861bf593c919ff69314b0a259e1e24d6a7/source/dub/dub.d#L725">https://github.com/rejectedsoftware/dub/blob/d4d026861bf593c919ff69314b0a259e1e24d6a7/source/dub/dub.d#L725</a>

I also tried to build with gdc 4.8.2 with same results :\</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>