[Bug target/46546] New: ix86_pad_returns may leave BB_END (bb) pointing to deleted insn
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Nov 18 19:55:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46546
Summary: ix86_pad_returns may leave BB_END (bb) pointing to
deleted insn
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: hjl.tools@gmail.com
CC: ubizjak@gmail.com
ix86_pad_returns has
rtx ret = BB_END (bb);
...
emit_jump_insn_before (gen_return_internal_long (), ret);
delete_insn (ret);
...
It may leave BB_END (bb) pointing to deleted insn. A patch is posed at
http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01930.html
More information about the Gcc-bugs
mailing list