public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/57490] New: ICE on c-c++-common/cilk-plus/AN/an-if.c
@ 2013-05-31 19:50 ebotcazou at gcc dot gnu.org
  2013-06-14 20:48 ` [Bug c/57490] " ro at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2013-05-31 19:50 UTC (permalink / raw)
  To: gcc-bugs

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
[...]


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/57490] ICE on c-c++-common/cilk-plus/AN/an-if.c
  2013-05-31 19:50 [Bug c/57490] New: ICE on c-c++-common/cilk-plus/AN/an-if.c ebotcazou at gcc dot gnu.org
@ 2013-06-14 20:48 ` ro at gcc dot gnu.org
  2013-06-14 20:49 ` ro at gcc dot gnu.org
  2014-02-07 10:10 ` ro at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2013-06-14 20:48 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|sparc*-sun-solaris2.*       |*-*-solaris2.*
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-06-14
                 CC|                            |ro at gcc dot gnu.org
   Target Milestone|---                         |4.9.0
     Ever confirmed|0                           |1

--- Comment #1 from Rainer Orth <ro at gcc dot gnu.org> ---
As of 2013-06-14 (r200089), I see the following ICE on both Solaris/SPARC and
Solaris/x86, can be reproduced with x86_64-unknown-linux-gnu x
i386-pc-solaris2.10 cross compiler:

% cc1 -fpreprocessed an-if.i -quiet -fcilkplus -o an-if.s
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/cilk-plus/AN/an-if.c: In
function 'main':
/vol/gcc/src/hg/trunk/local/gcc/testsuite/c-c++-common/cilk-plus/AN/an-if.c:14:9:
internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:2042
     int i = 0;
         ^
0x7884f7 gimplify_var_or_parm_decl
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:2042
0x790c18 gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:7565
0x7a2980 gimplify_modify_expr
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:4851
0x790b6f gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:7160
0x797758 gimplify_stmt(tree_node**, gimple_statement_d**)
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:5692
0x79a5d3 gimplify_and_add
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:327
0x79a5d3 gimplify_decl_expr
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:1468
0x790629 gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:7327
0x797758 gimplify_stmt(tree_node**, gimple_statement_d**)
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:5692
0x790e33 gimplify_statement_list
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:1521
0x790e33 gimplify_expr(tree_node**, gimple_statement_d**, gimple_statement_d**,
bool (*)(tree_node*), int)
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:7549
0x797758 gimplify_stmt(tree_node**, gimple_statement_d**)
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:5692
0x79786a gimplify_body(tree_node*, bool)
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:8193
0x797d82 gimplify_function_tree(tree_node*)
        /vol/gcc/src/hg/trunk/local/gcc/gimplify.c:8325
0x621c77 analyze_function
        /vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:630
0x624399 analyze_functions
        /vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:914
0x624b07 finalize_compilation_unit()
        /vol/gcc/src/hg/trunk/local/gcc/cgraphunit.c:2088
0x4e7092 c_write_global_declarations()
        /vol/gcc/src/hg/trunk/local/gcc/c/c-decl.c:10118

Preprocessed testcase attached.

Balaji, could you please have a look.  At least on Solaris/x86, this is the
last
remaining cilkplus testsuite failure (Solaris/SPARC bootstrap still running).

  Rainer


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/57490] ICE on c-c++-common/cilk-plus/AN/an-if.c
  2013-05-31 19:50 [Bug c/57490] New: ICE on c-c++-common/cilk-plus/AN/an-if.c ebotcazou at gcc dot gnu.org
  2013-06-14 20:48 ` [Bug c/57490] " ro at gcc dot gnu.org
@ 2013-06-14 20:49 ` ro at gcc dot gnu.org
  2014-02-07 10:10 ` ro at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2013-06-14 20:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> ---
Created attachment 30304
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30304&action=edit
preprocessed testcase


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug c/57490] ICE on c-c++-common/cilk-plus/AN/an-if.c
  2013-05-31 19:50 [Bug c/57490] New: ICE on c-c++-common/cilk-plus/AN/an-if.c ebotcazou at gcc dot gnu.org
  2013-06-14 20:48 ` [Bug c/57490] " ro at gcc dot gnu.org
  2013-06-14 20:49 ` ro at gcc dot gnu.org
@ 2014-02-07 10:10 ` ro at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: ro at gcc dot gnu.org @ 2014-02-07 10:10 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> ---
Fixed since ca. 20131217.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-07 10:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-31 19:50 [Bug c/57490] New: ICE on c-c++-common/cilk-plus/AN/an-if.c ebotcazou at gcc dot gnu.org
2013-06-14 20:48 ` [Bug c/57490] " ro at gcc dot gnu.org
2013-06-14 20:49 ` ro at gcc dot gnu.org
2014-02-07 10:10 ` ro at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).