public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/59993] New: ICE: SSA corruption
@ 2014-01-30 11:26 rmansfield at qnx dot com
  2014-01-30 11:56 ` [Bug middle-end/59993] [4.9 Regression] " rguenth at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: rmansfield at qnx dot com @ 2014-01-30 11:26 UTC (permalink / raw)
  To: gcc-bugs

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.


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

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-30 11:26 [Bug tree-optimization/59993] New: ICE: SSA corruption rmansfield at qnx dot com
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

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).