[Bug middle-end/59330] New: Crash in is_gimple_reg_type
d.g.gorbachev at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Nov 28 11:25:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59330
Bug ID: 59330
Summary: Crash in is_gimple_reg_type
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: d.g.gorbachev at gmail dot com
======= 8< =======
void free(void *p)
{
}
void *foo(void)
{
return 0;
}
int main(void)
{
void *p = foo();
free(p);
return 0;
}
======= >8 =======
$ gcc -O 1.c
1.c: In function 'main':
1.c:15:1: internal compiler error: Segmentation fault
}
^
0x86dfff0 crash_signal
../../gcc-4.9/gcc/toplev.c:336
0x871992f is_gimple_reg_type
../../gcc-4.9/gcc/gimple-expr.h:74
0x871992f verify_gimple_call
../../gcc-4.9/gcc/tree-cfg.c:3190
0x871ac23 verify_gimple_stmt
../../gcc-4.9/gcc/tree-cfg.c:4306
0x8721a9a verify_gimple_in_cfg(function*)
../../gcc-4.9/gcc/tree-cfg.c:4765
0x86158d5 execute_function_todo
../../gcc-4.9/gcc/passes.c:1843
0x8615a5b do_per_function
../../gcc-4.9/gcc/passes.c:1573
0x8615bee execute_todo
../../gcc-4.9/gcc/passes.c:1877
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.
More information about the Gcc-bugs
mailing list