[Bug bootstrap/83396] [8 Regression] Bootstrap failures with Statement Frontiers

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Dec 14 15:03:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83396

--- Comment #62 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Author: aoliva
Date: Thu Dec 14 15:02:58 2017
New Revision: 255638

URL: https://gcc.gnu.org/viewcvs?rev=255638&root=gcc&view=rev
Log:
[SFN] next/prev_nonnote_insn_bb are no more, even for ports

The patch that added _nondebug to next_ and prev_nonnote_insn_bb
failed to find and adjust uses within config.  Fixed.

for  gcc/ChangeLog

        PR bootstrap/83396
        * config/arc/arc.c (hwloop_optimize): Skip debug insns.
        * config/sh/sh-protos.h (sh_find_set_of_reg): Adjust.
        * config/sh/sh.c: Skip debug insns besides notes.
        * config/sh/sh.md: Likewise.
        * config/sh/sh_treg_combine.cc: Likewise.
        * config/sh/sync.md: Likewise.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arc/arc.c
    trunk/gcc/config/sh/sh-protos.h
    trunk/gcc/config/sh/sh.c
    trunk/gcc/config/sh/sh.md
    trunk/gcc/config/sh/sh_treg_combine.cc
    trunk/gcc/config/sh/sync.md

--- Comment #63 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Comment on attachment 42885
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42885
expand labels before markers

If you do this, then we should also revert the var-tracking.c etc. changes to
look for debug insns outside of bbs and deal with them.


More information about the Gcc-bugs mailing list