public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/49000] New: ICE: verify_ssa failed with -O2 -g
@ 2011-05-14 20:44 arthur.j.odwyer at gmail dot com
  2011-05-15  1:45 ` [Bug tree-optimization/49000] [4.6/4.7 Regression] " hjl.tools at gmail dot com
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: arthur.j.odwyer at gmail dot com @ 2011-05-14 20:44 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: ICE: verify_ssa failed with -O2 -g
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: arthur.j.odwyer@gmail.com


Created attachment 24248
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24248
Output of "ajo-gcc -w -O2 -g test1426113557.c -v"

This reproduces for me with svn revision 173589 (2011-05-09). It doesn't
reproduce with gcc 4.5.1. I'm on Ubuntu 10.10, x86-64.

cat >test1426113557.c <<EOF
static MUL(int ui1, int ui2) {
  return (ui1) * (ui2);
}

static int func_60(int *p_61) {
    return (*p_61);
}

void func_97() {
    int l_234 = 42;
    int *l_342 = &l_234;
    MUL(func_60(&l_234), 3);
}

void func_1(void) {
    func_97();
}
EOF
gcc -w -O2 -g test1426113557.c

test1426113557.c: In function ‘func_1’:
test1426113557.c:17:1: error: expected an SSA_NAME object
test1426113557.c:17:1: error: in statement
# DEBUG D#1 => l_234
test1426113557.c:17:1: internal compiler error: verify_ssa failed


This test case is reduced from the output of Csmith 2.1.0 (git hash 541a6480,
https://github.com/csmith-project/csmith/), using the following command line:
csmith --no-paranoid --no-longlong --pointers --no-arrays --no-jumps
--no-consts --no-volatiles --checksum --no-divs --muls --no-bitfields
--no-packed-struct -s 1426113557


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

end of thread, other threads:[~2011-05-23  9:42 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-14 20:44 [Bug tree-optimization/49000] New: ICE: verify_ssa failed with -O2 -g arthur.j.odwyer at gmail dot com
2011-05-15  1:45 ` [Bug tree-optimization/49000] [4.6/4.7 Regression] " hjl.tools at gmail dot com
2011-05-16 18:16 ` ian at airs dot com
2011-05-16 18:23 ` ian at airs dot com
2011-05-17  9:07 ` jakub at gcc dot gnu.org
2011-05-17  9:58 ` rguenth at gcc dot gnu.org
2011-05-17 10:19 ` jakub at gcc dot gnu.org
2011-05-17 16:59 ` jakub at gcc dot gnu.org
2011-05-17 17:22 ` jakub at gcc dot gnu.org
2011-05-18  1:14 ` arthur.j.odwyer at gmail dot com
2011-05-18  3:43 ` hjl.tools at gmail dot com
2011-05-18  7:49 ` jakub at gcc dot gnu.org
2011-05-18  9:47 ` jakub at gcc dot gnu.org
2011-05-18 10:02 ` jakub at gcc dot gnu.org
2011-05-18 10:06 ` jakub at gcc dot gnu.org
2011-05-23  9:58 ` jakub 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).