This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, rs6000] Don't emit profile code for procedures marked no_instrument_function
- From: David Edelsohn <dje dot gcc at gmail dot com>
- To: Pat Haugen <pthaugen at linux dot vnet dot ibm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>, Ulrich Weigand <uweigand at de dot ibm dot com>
- Date: Tue, 14 Jan 2014 16:58:34 -0500
- Subject: Re: [PATCH, rs6000] Don't emit profile code for procedures marked no_instrument_function
- Authentication-results: sourceware.org; auth=none
- References: <52D5A121 dot 3070506 at linux dot vnet dot ibm dot com>
On Tue, Jan 14, 2014 at 3:42 PM, Pat Haugen <pthaugen@linux.vnet.ibm.com> wrote:
> This patch fixes a problem where the attribute no_instrument_function was
> being ignored and profile code was emitted. Testcase
> gcc.target/powerpc/ppc64-abi-2.c exposed the issue.
>
> Bootstrap/regtest with no new regressions, ok for trunk?
>
> -Pat
>
>
> 2014-01-13 Pat Haugen <pthaugen@us.ibm.com>
>
> * config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if
> current procedure should be profiled.
okay.
Thanks, David