Re: CFI statements vs. -pg

2009-12-15 Thread Thomas Schwinge
Hello! On 2009-12-15 10:15, Richard Earnshaw wrote: > On Mon, 2009-12-14 at 19:18 +0100, Thomas Schwinge wrote: >> .LCFI0: >> .cfi_def_cfa_offset 8 >> + push{lr} >> + bl __gnu_mcount_nc >> .loc 1 4 0 >> mov r0, #33 >> >> Sh

Re: CFI statements vs. -pg

2009-12-15 Thread Richard Earnshaw
On Mon, 2009-12-14 at 19:18 +0100, Thomas Schwinge wrote: > Hello! > > I noticed the following on ARM, GCC trunk -- didn't check yet whether it > is ARM-specific; may be a general issue. > > Hacking out the forcing-off of emitting CFI statements in arm.c, I see > the following function prologue

CFI statements vs. -pg

2009-12-14 Thread Thomas Schwinge
Hello! I noticed the following on ARM, GCC trunk -- didn't check yet whether it is ARM-specific; may be a general issue. Hacking out the forcing-off of emitting CFI statements in arm.c, I see the following function prologue emitted (-O -g): .text .Ltext0: .cfi_section