This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/55008] New: Internal compiler error : verify_ssa failed
- From: "merkil at savhon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 21 Oct 2012 17:33:07 +0000
- Subject: [Bug tree-optimization/55008] New: Internal compiler error : verify_ssa failed
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55008
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 <stdint.h>
void f(void)
{
int a, *p;
uint64_t b = 6309343725;
if(*p ? (b = 1) : 0)
if(b - (a = b /= 0) ? : (a + b))
while(1);
}
$ xgcc -w -O2 verify_ssa.c
verify_ssa.c: In function âfâ:
verify_ssa.c:3:6: error: definition in block 3 follows the use
void f(void)
^
for SSA_NAME: _12 in statement:
_12 = _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 <http://gcc.gnu.org/bugs.html> for instructions.