https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66563
--- Comment #16 from John Paul Adrian Glaubitz <glaubitz at physik dot
fu-berlin.de> ---
I included some more context:
glaubitz@tirpitz:~/debian/segfault-test$ objdump -d
/usr/lib/gcc/sh4-linux-gnu/4.9/cc1 |grep -C20 763a40
763a18: 10 38 cmp/eq r1,r8
763a1a: 39 8d bt.s 763a90
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0x90>
763a1c: 00 e4 mov #0,r4
763a1e: 7d 90 mov.w 763b1c
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0x11c>,r0
! a8
763a20: 52 2f mov.l r5,@r15
763a22: 10 e6 mov #16,r6
763a24: 7b 95 mov.w 763b1e
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0x11e>,r5
! ff7c
763a26: fc 30 add r15,r0
763a28: 71 1f mov.l r7,@(4,r15)
763a2a: 0c 35 add r0,r5
763a2c: 3e d0 mov.l 763b28
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0x128>,r0
! 4cee84 <mpfr_get_str@plt>
763a2e: 0b 40 jsr @r0
763a30: 00 e7 mov #0,r7
763a32: 08 20 tst r0,r0
763a34: 6d 8d bt.s 763b12
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0x112>
763a36: 03 68 mov r0,r8
763a38: 03 c8 tst #3,r0
763a3a: 05 8f bf.s 763a48
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0x48>
763a3c: 03 61 mov r0,r1
763a3e: 00 e3 mov #0,r3
763a40: 16 62 mov.l @r1+,r2
763a42: 3c 22 cmp/str r3,r2
763a44: fc 8b bf 763a40
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0x40>
763a46: fc 71 add #-4,r1
763a48: 14 62 mov.b @r1+,r2
763a4a: 28 22 tst r2,r2
763a4c: fc 8f bf.s 763a48
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0x48>
763a4e: 83 66 mov r8,r6
763a50: 01 76 add #1,r6
763a52: 68 31 sub r6,r1
763a54: 73 e2 mov #115,r2
763a56: 26 31 cmp/hi r2,r1
763a58: 5b 8d bt.s 763b12
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0x112>
763a5a: f9 57 mov.l @(36,r15),r7
763a5c: f3 6a mov r15,r10
763a5e: 28 7a add #40,r10
763a60: 08 47 shll2 r7
763a62: 79 1f mov.l r7,@(36,r15)
763a64: 80 60 mov.b @r8,r0
763a66: 2d 88 cmp/eq #45,r0
763a68: 33 8d bt.s 763ad2
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0xd2>
763a6a: a3 64 mov r10,r4
763a6c: 2f d0 mov.l 763b2c
<_Z14real_from_mpfrP10real_valuePK13__mpfr_structP9tree_node10mpfr_rnd_t+0x12c>,r0
! 4cd3b8 <sprintf@plt>
glaubitz@tirpitz:~/debian/segfault-test$
Adrian