https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32743
Uroš Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
This was fixed long ago:
Disassembly of section .text:
00000000 <main>:
0: 8d 4c 24 04 lea 0x4(%esp),%ecx
4: 83 e4 f0 and $0xfffffff0,%esp
7: ff 71 fc push -0x4(%ecx)
a: 55 push %ebp
b: 89 e5 mov %esp,%ebp
d: 53 push %ebx
e: 51 push %ecx
f: 89 cb mov %ecx,%ebx
11: 83 ec 0c sub $0xc,%esp
14: 6a 01 push $0x1
16: e8 fc ff ff ff call 17 <main+0x17>
17: R_386_PC32 sleep
1b: 83 c4 10 add $0x10,%esp
1e: 8b 03 mov (%ebx),%eax
20: 8d 65 f8 lea -0x8(%ebp),%esp
23: 59 pop %ecx
24: 5b pop %ebx
25: 5d pop %ebp
26: 8d 61 fc lea -0x4(%ecx),%esp
29: c3 ret
Contents of the .eh_frame section:
00000000 00000014 00000000 CIE "zR" cf=1 df=-4 ra=8
LOC CFA ra
00000000 esp+4 c-4
00000018 00000030 0000001c FDE cie=00000000 pc=00000000..0000002a
LOC CFA ecx ebx ebp ra
00000000 esp+4 u u u c-4
00000004 ecx+0 u u u c-4
0000000d ecx+0 u u exp c-4
0000000f exp u exp exp c-4
00000024 ecx+0 u exp exp c-4
00000025 ecx+0 u u exp c-4
00000026 ecx+0 u u u c-4
00000029 esp+4 u u u c-4