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 Sat, 3 Nov 2012, Andi Kleen wrote:

> "Joseph S. Myers" <joseph@codesourcery.com> writes:
> >> 
> >> 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?
> 
> The code is in start_function, which is called by both C and C++
> (and I think Go too, but I didn't try to enable the option there)

But C++ has its own version of start_function, in cp/decl.c.

-- 
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]