Message ID | 1453688272.18740.2.camel@gnopaine |
---|---|
State | New |
Headers | show |
On Sun, Jan 24, 2016 at 9:17 PM, Bill Schmidt <wschmidt@linux.vnet.ibm.com> wrote: > Hi Jan, thanks for the report! Patch below that should fix the problem. > Bootstrapped and tested on powerpc64le-unknown-linux-gnu, no > regressions. David, is this ok for trunk? > > Thanks, > Bill > > > 2016-01-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com> > > * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): Add > decl with __attribute__ ((unused)) annotation. Okay. Thanks, David
Thanks, committed as r232793. Bill On Mon, 2016-01-25 at 08:54 -0500, David Edelsohn wrote: > On Sun, Jan 24, 2016 at 9:17 PM, Bill Schmidt > <wschmidt@linux.vnet.ibm.com> wrote: > > > Hi Jan, thanks for the report! Patch below that should fix the problem. > > Bootstrapped and tested on powerpc64le-unknown-linux-gnu, no > > regressions. David, is this ok for trunk? > > > > Thanks, > > Bill > > > > > > 2016-01-24 Bill Schmidt <wschmidt@linux.vnet.ibm.com> > > > > * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): Add > > decl with __attribute__ ((unused)) annotation. > > Okay. > > Thanks, David >
Index: gcc/config/rs6000/rs6000.c =================================================================== --- gcc/config/rs6000/rs6000.c (revision 232783) +++ gcc/config/rs6000/rs6000.c (working copy) @@ -1311,6 +1311,7 @@ static bool rs6000_secondary_reload_move (enum rs6 secondary_reload_info *, bool); rtl_opt_pass *make_pass_analyze_swaps (gcc::context*); +static bool rs6000_keep_leaf_when_profiled () __attribute__ ((unused)); /* Hash table stuff for keeping track of TOC entries. */