[PATCH, rs6000] Don't emit profile code for procedures marked no_instrument_function

David Edelsohn dje.gcc@gmail.com
Tue Jan 14 21:58:00 GMT 2014


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



More information about the Gcc-patches mailing list