public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rmansfield at qnx dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug tree-optimization/59993] New: ICE: SSA corruption
Date: Thu, 30 Jan 2014 11:26:00 -0000	[thread overview]
Message-ID: <bug-59993-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 59993
           Summary: ICE: SSA corruption
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rmansfield at qnx dot com
            Target: arm-unknown-linux-gnueabi

$ cat ~/ice.i
typedef struct _jmp_buf
{
}
jmp_buf[1];
extern int optind;
jmp_buf jump_buf;
int
main (int argc, char **argv)
{
  int cnt;
  foo (jump_buf, _setjmp(jump_buf));
  argv += optind;
  bar(argv[cnt]);
}
$ ./xgcc -v
Using built-in specs.
COLLECT_GCC=./xgcc
Target: arm-unknown-linux-gnueabi
Configured with: ../configure --target=arm-unknown-linux-gnueabi
--prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi
--with-sysroot=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi//sys-root
--disable-multilib
--with-local-prefix=/home/ryan/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sys-root
--disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99
--enable-long-long --enable-target-optspace
target_alias=arm-unknown-linux-gnueabi --enable-languages=c++ --disable-shared
--disable-libmudflap --disable-libssp --enable-checking
Thread model: posix
gcc version 4.9.0 20140130 (experimental) [trunk revision 207298] (GCC) 
$ ./xgcc -B. -O1 ~/ice.i

Unable to coalesce ssa_names 2 and 13 which are marked as MUST COALESCE.
argv_2(ab) and  argv_13(ab)
/home/ryan/ice.i: In function 'main':
/home/ryan/ice.i:8:1: internal compiler error: SSA corruption
 main (int argc, char **argv)
 ^
0xa3d6c7 fail_abnormal_edge_coalesce
    ../../gcc/tree-ssa-coalesce.c:910
0xa3d6c7 coalesce_partitions
    ../../gcc/tree-ssa-coalesce.c:1205
0xa3d6c7 coalesce_ssa_name()
    ../../gcc/tree-ssa-coalesce.c:1349
0x9ea359 remove_ssa_form
    ../../gcc/tree-outof-ssa.c:987
0x9ea359 rewrite_out_of_ssa(ssaexpand*)
    ../../gcc/tree-outof-ssa.c:1220
0x61e174 gimple_expand_cfg
    ../../gcc/cfgexpand.c:5532
0x61e174 execute
    ../../gcc/cfgexpand.c:5935
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.


             reply	other threads:[~2014-01-30 11:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30 11:26 rmansfield at qnx dot com [this message]
2014-01-30 11:56 ` [Bug middle-end/59993] [4.9 Regression] " rguenth at gcc dot gnu.org
2014-01-30 12:28 ` jakub at gcc dot gnu.org
2014-01-30 12:39 ` rmansfield at qnx dot com
2014-01-30 14:20 ` rguenth at gcc dot gnu.org
2014-01-30 14:24 ` ramana at gcc dot gnu.org
2014-01-30 14:29 ` ramana at gcc dot gnu.org
2014-01-30 14:36 ` rguenth at gcc dot gnu.org
2014-01-30 14:47 ` rmansfield at qnx dot com
2014-01-30 18:28 ` rguenth at gcc dot gnu.org
2014-01-31 10:07 ` rguenth at gcc dot gnu.org

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-59993-4@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).