public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "nick.tomlinson at arm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/57541] [Cilkplus]: internal compiler error: in gimplify_expr, at gimplify.c:7809
Date: Wed, 30 Jul 2014 11:48:00 -0000	[thread overview]
Message-ID: <bug-57541-4-lS9BA2VHqf@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-57541-4@http.gcc.gnu.org/bugzilla/>

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.


  parent reply	other threads:[~2014-07-30 11:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-06 10:11 [Bug middle-end/57541] New: " anna.m.tikhonova at gmail dot com
2013-06-06 10:14 ` [Bug middle-end/57541] " anna.m.tikhonova at gmail dot com
2013-06-06 10:22 ` anna.m.tikhonova at gmail dot com
2013-06-09 14:25 ` bviyer at gmail dot com
2013-06-09 14:26 ` bviyer at gmail dot com
2013-06-10 14:11 ` anna.m.tikhonova at gmail dot com
2013-06-10 14:23 ` anna.m.tikhonova at gmail dot com
2013-06-10 14:28 ` anna.m.tikhonova at gmail dot com
2013-06-10 14:34 ` anna.m.tikhonova at gmail dot com
2013-06-10 14:38 ` anna.m.tikhonova at gmail dot com
2014-06-30  8:15 ` kyukhin at gcc dot gnu.org
2014-06-30  8:23 ` kyukhin at gcc dot gnu.org
2014-07-30 11:47 ` nick.tomlinson at arm dot com
2014-07-30 11:48 ` nick.tomlinson at arm dot com [this message]
2014-07-31 19:13 ` izamyatin at gmail dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-57541-4-lS9BA2VHqf@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).