This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SFN] Bootstrap broken
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Biener <rguenther at suse dot de>, Jeff Law <law at redhat dot com>, Alexandre Oliva <aoliva at redhat dot com>
- Cc: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>, David Edelsohn <dje dot gcc at gmail dot com>, Jason Merrill <jason at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 13 Dec 2017 15:16:56 +0100
- Subject: Re: [SFN] Bootstrap broken
- Authentication-results: sourceware.org; auth=none
- References: <CAGWvny=4dmX11q5dBvy2SpAtRZYBygpb87JOwpzBZN6WS_qhDQ@mail.gmail.com> <yddo9n3n5ni.fsf@CeBiTec.Uni-Bielefeld.DE> <orr2rz6qiv.fsf@lxoliva.fsfla.org> <20171213103404.GF2353@tucnak>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Wed, Dec 13, 2017 at 11:34:04AM +0100, Jakub Jelinek wrote:
> 2017-12-13 Jakub Jelinek <jakub@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?
> --- 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