summaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/m68k.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 253d621d074..566b8d2de1f 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -33,6 +33,7 @@ along with GCC; see the file COPYING3. If not see
#include "output.h"
#include "insn-attr.h"
#include "recog.h"
+#include "diagnostic-core.h"
#include "toplev.h"
#include "expr.h"
#include "reload.h"
@@ -1042,7 +1043,7 @@ void
m68k_expand_prologue (void)
{
HOST_WIDE_INT fsize_with_regs;
- rtx limit, src, dest, insn;
+ rtx limit, src, dest;
m68k_compute_frame_layout ();
@@ -1185,7 +1186,7 @@ m68k_expand_prologue (void)
if (!TARGET_SEP_DATA
&& crtl->uses_pic_offset_table)
- insn = emit_insn (gen_load_got (pic_offset_table_rtx));
+ emit_insn (gen_load_got (pic_offset_table_rtx));
}
/* Return true if a simple (return) instruction is sufficient for this