Re: [PATCH RFC 1/2] Makefile: Never use -fno-omit-frame-pointer

2009-09-04 Thread Anton Vorontsov
On Sat, Jul 18, 2009 at 02:01:45PM +0200, Ingo Molnar wrote: > > * Anton Vorontsov wrote: > > > On Wed, Jun 17, 2009 at 12:16:30AM +0400, Anton Vorontsov wrote: > > > According to Segher Boessenkool and GCC manual, -fomit-frame-pointer > > > is only the default when optimising on archs/ABIs wher

Re: [PATCH RFC 1/2] Makefile: Never use -fno-omit-frame-pointer

2009-07-18 Thread Ingo Molnar
* Anton Vorontsov wrote: > On Wed, Jun 17, 2009 at 12:16:30AM +0400, Anton Vorontsov wrote: > > According to Segher Boessenkool and GCC manual, -fomit-frame-pointer > > is only the default when optimising on archs/ABIs where it doesn't > > hinder debugging and -pg. So, we do not get it by defaul

Re: [PATCH RFC 1/2] Makefile: Never use -fno-omit-frame-pointer

2009-07-14 Thread Segher Boessenkool
[Sorry for not replying earlier, somehow I missed this mail] On the other hand, *using* -fno-omit-frame-pointer causes gcc to produce buggy code on PowerPC targets. It doesn't cause the problem, it only exposes it. And, of course, only on certain GCC versions. Segher, do you know if all GCC

Re: [PATCH RFC 1/2] Makefile: Never use -fno-omit-frame-pointer

2009-07-14 Thread Anton Vorontsov
On Wed, Jun 17, 2009 at 12:16:30AM +0400, Anton Vorontsov wrote: > According to Segher Boessenkool and GCC manual, -fomit-frame-pointer > is only the default when optimising on archs/ABIs where it doesn't > hinder debugging and -pg. So, we do not get it by default on x86, > not at any optimisation

[PATCH RFC 1/2] Makefile: Never use -fno-omit-frame-pointer

2009-06-16 Thread Anton Vorontsov
According to Segher Boessenkool and GCC manual, -fomit-frame-pointer is only the default when optimising on archs/ABIs where it doesn't hinder debugging and -pg. So, we do not get it by default on x86, not at any optimisation level. On the other hand, *using* -fno-omit-frame-pointer causes gcc to