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] Add -fno-instrument-function


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


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