re PR target/65697 (__atomic memory barriers not strong enough for __sync builtins)
[gcc.git] / gcc / sched-ebb.c
index d30fa2e30a1644bcfd117b0e510e5eb8c51bf9f6..03767e6c841b90f9940730652dff19f3dff47ef9 100644 (file)
@@ -1,5 +1,5 @@
 /* Instruction scheduling pass.
-   Copyright (C) 1992-2014 Free Software Foundation, Inc.
+   Copyright (C) 1992-2015 Free Software Foundation, Inc.
    Contributed by Michael Tiemann (tiemann@cygnus.com) Enhanced by,
    and currently maintained by, Jim Wilson (wilson@cygnus.com)
 
@@ -28,11 +28,6 @@ along with GCC; see the file COPYING3.  If not see
 #include "tm_p.h"
 #include "hard-reg-set.h"
 #include "regs.h"
-#include "hashtab.h"
-#include "hash-set.h"
-#include "vec.h"
-#include "machmode.h"
-#include "input.h"
 #include "function.h"
 #include "profile.h"
 #include "flags.h"
@@ -41,6 +36,12 @@ along with GCC; see the file COPYING3.  If not see
 #include "except.h"
 #include "recog.h"
 #include "params.h"
+#include "dominance.h"
+#include "cfg.h"
+#include "cfgrtl.h"
+#include "cfgbuild.h"
+#include "predict.h"
+#include "basic-block.h"
 #include "sched-int.h"
 #include "target.h"
 
@@ -178,9 +179,7 @@ begin_move_insn (rtx_insn *insn, rtx_insn *last)
                           && BB_END (last_bb) == insn);
 
       {
-       rtx x;
-
-       x = NEXT_INSN (insn);
+       rtx_insn *x = NEXT_INSN (insn);
        if (e)
          gcc_checking_assert (NOTE_P (x) || LABEL_P (x));
        else