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: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: Alexandre Oliva <aoliva at redhat dot com>, David Edelsohn <dje dot gcc at gmail dot com>, Rainer Orth <ro at cebitec dot uni-bielefeld dot de>, Jeffrey Law <law at redhat dot com>, Richard Biener <richard dot guenther at gmail dot com>, Jason Merrill <jason at redhat dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 14 Dec 2017 15:47:08 +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> <CAGWvnykHQmrxBU6rF=N+4MQskLdKW3vFqYwOQgqPo4jFrmLQvA@mail.gmail.com> <ormv2n6q7b.fsf@lxoliva.fsfla.org> <mvm8te5jrsb.fsf@suse.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Dec 14, 2017 at 03:41:24PM +0100, Andreas Schwab wrote:
> This fixes the m68k ICE.
>
> Andreas.
>
> PR bootstrap/83396
> * reload1.c (emit_input_reload_insns): Skip debug markers.
This is ok for trunk, thanks.
> --- a/gcc/reload1.c
> +++ b/gcc/reload1.c
> @@ -7345,12 +7345,12 @@ emit_input_reload_insns (struct insn_chain *chain, struct reload *rl,
>
> /* Adjust any debug insns between temp and insn. */
> while ((temp = NEXT_INSN (temp)) != insn)
> - if (DEBUG_INSN_P (temp))
> + if (DEBUG_BIND_INSN_P (temp))
> INSN_VAR_LOCATION_LOC (temp)
> = simplify_replace_rtx (INSN_VAR_LOCATION_LOC (temp),
> old, reloadreg);
> else
> - gcc_assert (NOTE_P (temp));
> + gcc_assert (DEBUG_INSN_P (temp) || NOTE_P (temp));
> }
> else
> {
Jakub