From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11707 invoked by alias); 21 Oct 2012 17:33:42 -0000 Received: (qmail 11572 invoked by uid 48); 21 Oct 2012 17:33:08 -0000 From: "merkil at savhon dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/55008] New: Internal compiler error : verify_ssa failed Date: Sun, 21 Oct 2012 17:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: merkil at savhon dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2012-10/txt/msg01880.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D55008 Bug #: 55008 Summary: Internal compiler error : verify_ssa failed Classification: Unclassified Product: gcc Version: 4.8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned@gcc.gnu.org ReportedBy: merkil@savhon.org Hello ! The following testcase makes GCC 4.8.0 20121021 crash on my x86_64 machine = (at -O2 and higher) : $ cat verify_ssa.c #include void f(void) { int a, *p; uint64_t b =3D 6309343725; if(*p ? (b =3D 1) : 0) if(b - (a =3D b /=3D 0) ? : (a + b)) while(1); } $ xgcc -w -O2 verify_ssa.c verify_ssa.c: In function =E2=80=98f=E2=80=99: verify_ssa.c:3:6: error: definition in block 3 follows the use void f(void) ^ for SSA_NAME: _12 in statement: _12 =3D _12; verify_ssa.c:3:6: internal compiler error: verify_ssa failed linux-vdso.so.1: No such file or directory 0xa2cc93 verify_ssa(bool) ../../srcdir/gcc/tree-ssa.c:1052 0x82f7a2 execute_function_todo ../../srcdir/gcc/passes.c:1957 0x8304cd execute_todo ../../srcdir/gcc/passes.c:1989 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See for instructions.