[Bug target/50906] e500 exception unwinding under "-Os" causes SIGSEGV
amodra at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Nov 1 23:44:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50906
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-11-01
CC| |amodra at gmail dot com
Ever Confirmed|0 |1
--- Comment #4 from Alan Modra <amodra at gmail dot com> 2011-11-01 23:44:04 UTC ---
_Z16closure_test_fn1P7ffi_cifPvPS1_S1_:
.LFB0:
.file 1 "unwindtestfunc.cc"
.loc 1 17 0
.cfi_startproc
.LVL0:
stwu 1,-128(1)
.LCFI0:
.cfi_def_cfa_offset 128
mflr 0
mr 3,6
.LVL1:
stw 0,132(1)
addi 11,1,-16
.LCFI1:
.cfi_def_cfa 11, 160
That last .cfi directive is wrong. To match the instructions it should be
.cfi_def_cfa 11, 144
More information about the Gcc-bugs
mailing list