[PATCH] Add -fno-instrument-function

Joseph S. Myers joseph@codesourcery.com
Sat Nov 3 17:28:00 GMT 2012


On Wed, 31 Oct 2012, Andi Kleen wrote:

> gcc/:
> 
> 2012-10-31  Andi Kleen <ak@linux.intel.com>
> 
> 	* c.opt (fno-instrument-function): Document.
> 
> gcc/c:
> 
> 2012-10-31  Andi Kleen <ak@linux.intel.com>
> 
> 	* c-decl.c (start_function): Handle force_no_instrument_function
> 
> gcc/testsuite:
> 
> 2012-10-31  Andi Kleen <ak@linux.intel.com>
> 
> 	* g++.dg/fno-instrument-function.C: Add.
> 	* gcc.dg/fno-instrument-function.c: Add.

You have a C++ test but no corresponding C++ front-end change; how does 
that work?

> +Link Time Optimization (LTO) to override the effects of -pg for a 

@option{-pg}.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list