http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57490

            Bug ID: 57490
           Summary: ICE on c-c++-common/cilk-plus/AN/an-if.c
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ebotcazou at gcc dot gnu.org
            Target: sparc*-sun-solaris2.*

The test triggers an ICE with any options:

(botcazou@ob) /nile.build/botcazou/gcc-head/sparc-sun-solaris2.10 $ gcc/xgcc
-Bgcc -S an-if.c -fcilkplus
In file included from an-if.c:7:0:
an-if.c: In function 'main':
an-if.c:28:33: internal compiler error: in gimplify_expr, at gimplify.c:7809
         assert( __sec_reduce_add(x[0:n])==3*n );
                                 ^
0x37c04b gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        /nile.build/botcazou/gcc-head/src/gcc/gimplify.c:7809
0x382fdb gimplify_call_expr
        /nile.build/botcazou/gcc-head/src/gcc/gimplify.c:2629
0x379417 gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        /nile.build/botcazou/gcc-head/src/gcc/gimplify.c:7131
0x37bdc7 gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        /nile.build/botcazou/gcc-head/src/gcc/gimplify.c:7771
0x379967 gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        /nile.build/botcazou/gcc-head/src/gcc/gimplify.c:7780
0x381a23 gimplify_cond_expr
        /nile.build/botcazou/gcc-head/src/gcc/gimplify.c:3245
0x3792df gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        /nile.build/botcazou/gcc-head/src/gcc/gimplify.c:7116
[...]

Reply via email to