On Wed, 13 Dec 2017, Jakub Jelinek wrote: > On Wed, Dec 13, 2017 at 11:34:04AM +0100, Jakub Jelinek wrote: > > 2017-12-13 Jakub Jelinek <ja...@redhat.com> > > > > PR bootstrap/83396 > > * final.c (rest_of_handle_final): Call variable_tracking_main only > > if !flag_var_tracking. > > Bootstrapped/regtested on x86_64-linux, i686-linux and powerpc64le-linux, > powerpc64-linux regtest still pending, ok for trunk?
Ok. Richard. > > --- gcc/final.c.jj 2017-12-12 09:48:15.000000000 +0100 > > +++ gcc/final.c 2017-12-13 11:29:12.284676265 +0100 > > @@ -4541,8 +4541,9 @@ rest_of_handle_final (void) > > { > > const char *fnname = get_fnname_from_decl (current_function_decl); > > > > - /* Turn debug markers into notes. */ > > - if (!MAY_HAVE_DEBUG_BIND_INSNS && MAY_HAVE_DEBUG_MARKER_INSNS) > > + /* Turn debug markers into notes if the var-tracking pass has not > > + been invoked. */ > > + if (!flag_var_tracking && MAY_HAVE_DEBUG_MARKER_INSNS) > > variable_tracking_main (); > > > > assemble_start_function (current_function_decl, fnname); > > > > Jakub > > -- Richard Biener <rguent...@suse.de> SUSE LINUX GmbH, GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg)