This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug middle-end/57541] [Cilkplus]: internal compiler error: in gimplify_expr, at gimplify.c:7809


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57541

--- Comment #13 from Nick Tomlinson <nick.tomlinson at arm dot com> ---
(In reply to Nick Tomlinson from comment #12)
> https://gcc.gnu.org/bugzilla/attachment.cgi?id=30285 still produces an ICE
> for me:
> 
>   I have tried this with:
>    - My system GCC (g++, version 4.9.1)
>    - A native build of GCC (${GCC_TRUNK}/bin/g++, revision r213234)
> 
>   ${GCC_TRUNK}/bin/g++ is a native build of GCC, with the following specified
>   to the configure script:
>   ./configure --prefix=${GCC_TRUNK} \
>     --enable-languages=c,c++,fortran --disable-sjlj-exceptions
>   And make invoked as: make CXXFLAGS="-g3 -O0" -j9
> 
>   $ uname -a
>   Linux squamata 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:06:17 CEST 2014
> x86_64 GNU/Linux
> 
>   $ g++ --version
>   g++ (GCC) 4.9.1
>   Copyright (C) 2014 Free Software Foundation, Inc.
>   This is free software; see the source for copying conditions.  There is NO
>   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
>   $ ${GCC_TRUNK}/bin/g++ --version
>   g++ (GCC) 4.10.0 20140730 (experimental)
>   Copyright (C) 2014 Free Software Foundation, Inc.
>   This is free software; see the source for copying conditions.  There is NO
>   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

test.cpp: In function 'int main()':
test.cpp:4:53: internal compiler error: in gimplify_expr, at gimplify.c:8389
   int  a = __sec_reduce_add (__sec_reduce_add (A[:]));
                                                     ^
0x9bc36b gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:8389
0x9c378f gimplify_call_expr
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:2432
0x9b9a2b gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:7644
0x9c378f gimplify_call_expr
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:2432
0x9b9a2b gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:7644
0x9b8270 gimplify_modify_expr
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:4571
0x9b98ef gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:7673
0x9be136 gimplify_stmt(tree_node**, gimple_statement_base**)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:5417
0x9b9aca gimplify_cleanup_point_expr
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:5193
0x9b9aca gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:8036
0x9be136 gimplify_stmt(tree_node**, gimple_statement_base**)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:5417
0x9b9d2b gimplify_statement_list
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:1451
0x9b9d2b gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:8088
0x9be136 gimplify_stmt(tree_node**, gimple_statement_base**)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:5417
0x9befe5 gimplify_bind_expr
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:1100
0x9b9a09 gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:7870
0x9be136 gimplify_stmt(tree_node**, gimple_statement_base**)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:5417
0x9b9d2b gimplify_statement_list
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:1451
0x9b9d2b gimplify_expr(tree_node**, gimple_statement_base**,
gimple_statement_base**, bool (*)(tree_node*), int)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:8088
0x9be136 gimplify_stmt(tree_node**, gimple_statement_base**)
        /home/nicholas/GCCCilk/bug/native/gcc-4.9.0/gcc/gimplify.c:5417
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]