This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][RFC] Add -Og


On Sep 4, 2012, at 22:42 , Hans-Peter Nilsson <hp@bitrange.com> wrote:
> Please, no inlining.  Think of stack back-traces and their use
> when debugging.

>  But, there was a talk at the GNU Tools
> Cauldron with related contents -
> <http://gcc.gnu.org/wiki/cauldron2012#Control-flow_preservation_in_GCC_for_safety-critical_uses>.
> 
> It'll be Very Nice if control flow preservation was part of -Og
> or at least they played nice together.


 A general comment first: I think the compromise Richard aims at
 satisfying is a very useful one: 

   << It aims at providing fast compilation, a superior debugging
      experience and reasonable runtime performance. 
   >>

 While there are commonalities with preserve-control-flow, indeed,
 there are differences in target concerns as well.

 We did a lot of work to support inlining for example :-)

 Our experience is that compromises of this kind are extremely sensitive to
 micro details spreadout in multiple places, so I'm afraid having one part of
 the other might be hard.

Olivier


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]