www.digitalmars.com         C & C++   DMDScript  

D.gnu - [Bug 118] New: Internal compiler error: Segmentation fault

Date: Sun, 13 Apr 2014 18:17:13 +0100
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

http://bugzilla.gdcproject.org/show_bug.cgi?id=118

            Bug ID: 118
           Summary: Internal compiler error: Segmentation fault
           Product: GDC
           Version: development
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gdc
          Assignee: ibuclaw gdcproject.org
          Reporter: kayo illumium.org

When I try to build dub (https://github.com/rejectedsoftware/dub), 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 <http://gcc.gnu.org/bugs.html> for instructions.

Link to problematic source on github:
https://github.com/rejectedsoftware/dub/blob/d4d026861bf593c919ff69314b0a259e1e24d6a7/source/dub/dub.d#L725

I also tried to build with gdc 4.8.2 with same results :\

-- 
You are receiving this mail because:
You are watching all bug changes.
Apr 13 2014