public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "arthur.j.odwyer at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/49602] New: verify_ssa failed (definition does not dominate use) with "-O2 -g" Date: Fri, 01 Jul 2011 00:00:00 -0000 [thread overview] Message-ID: <bug-49602-4@http.gcc.gnu.org/bugzilla/> (raw) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49602 Summary: verify_ssa failed (definition does not dominate use) 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 24649 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24649 Output of "ajo-gcc -std=c99 -O2 -g -w -c test.c -v" This failure reproduces for me with svn revision 175547 (2011-06-27). I've seen it twice in random testing, and never saw it back in May, so it must be a fairly new regression. I'm on Ubuntu 10.10, x86-64. cat >test.c <<EOF static void use(int *p_29) { } void func_25(int *p_29) { for (short p_26 = 0; p_26 == 1; ++p_26) p_29 = 0; use(p_29); } EOF gcc -std=c99 -O2 -g -w -c test.c test.c: In function ‘func_25’: test.c:6:1: error: definition in block 3 does not dominate use in block 5 for SSA_NAME: p_29_3 in statement: # DEBUG D#1 => p_29_3 test.c:6:1: internal compiler error: verify_ssa failed Bug 40711 (from 2009) has the same symptom, but doesn't require "-g", so it probably has a different root cause. This test case is reduced from the output of Csmith 2.1.0 (git hash 01aa8b04, https://github.com/Quuxplusone/csmith/), using the following command line: csmith --no-paranoid --longlong --pointers --no-arrays --jumps --no-consts --volatiles --checksum --no-divs --muls --no-bitfields --no-packed-struct -s 651222746
next reply other threads:[~2011-07-01 0:00 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-07-01 0:00 arthur.j.odwyer at gmail dot com [this message] 2011-07-01 7:05 ` [Bug middle-end/49602] [4.7 Regression] " rguenth at gcc dot gnu.org 2011-07-01 11:16 ` jakub at gcc dot gnu.org 2011-07-01 14:53 ` jakub at gcc dot gnu.org 2011-07-04 17:21 ` [Bug debug/49602] " jakub at gcc dot gnu.org 2011-07-04 18:25 ` jakub 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-49602-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: linkBe 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).