aboutsummaryrefslogtreecommitdiff
path: root/gcc/sched.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@issan.informatik.uni-dortmund.de>1998-08-17 08:35:24 +0000
committerJeff Law <law@gcc.gnu.org>1998-08-17 02:35:24 -0600
commitf5220a5dd39feb469be2bf80a5b455e2ce766f5e (patch)
treeb2f6f77060719590b9ba22b0fc031b946fa6d9de /gcc/sched.c
parent38198304ccb559a021fe5abbe91a5191d8cf5f0e (diff)
downloadgcc-f5220a5dd39feb469be2bf80a5b455e2ce766f5e.zip
gcc-f5220a5dd39feb469be2bf80a5b455e2ce766f5e.tar.gz
gcc-f5220a5dd39feb469be2bf80a5b455e2ce766f5e.tar.bz2
m68k.c: Include "system.h" instead of <stdio.h>.
* config/m68k/m68k.c: Include "system.h" instead of <stdio.h>. Include "toplev.h". (valid_dbcc_comparison_p): Mark mode argument as unused. (symbolic_operand): Likewise. (legitimize_pic_address): Likewise. (const_uint32_operand): Likewise. (const_sint32_operand): Likewise. * sched.c [!INSN_SCHEDULING]: Define only dummy function schedule_insns and comment out rest of file. From-SVN: r21779
Diffstat (limited to 'gcc/sched.c')
-rw-r--r--gcc/sched.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/gcc/sched.c b/gcc/sched.c
index 5b54028..5fbf760 100644
--- a/gcc/sched.c
+++ b/gcc/sched.c
@@ -127,10 +127,17 @@ Boston, MA 02111-1307, USA. */
#include "insn-config.h"
#include "insn-attr.h"
+#ifndef INSN_SCHEDULING
+void
+schedule_insns (dump_file)
+ FILE *dump_file ATTRIBUTE_UNUSED;
+{
+}
+#else /* INSN_SCHEDULING -- rest of file */
+
extern char *reg_known_equiv_p;
extern rtx *reg_known_value;
-#ifdef INSN_SCHEDULING
/* Arrays set up by scheduling for the same respective purposes as
similar-named arrays set up by flow analysis. We work with these
arrays during the scheduling pass so we can compare values against
@@ -342,8 +349,6 @@ static void update_flow_info PROTO((rtx, rtx, rtx, rtx));
/* Main entry point of this file. */
void schedule_insns PROTO((FILE *));
-
-#endif /* INSN_SCHEDULING */
#define SIZE_FOR_MODE(X) (GET_MODE_SIZE (GET_MODE (X)))
@@ -451,13 +456,6 @@ remove_dependence (insn, elem)
return;
}
-#ifndef INSN_SCHEDULING
-void
-schedule_insns (dump_file)
- FILE *dump_file;
-{
-}
-#else
#ifndef __GNUC__
#define __inline
#endif