This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Enum warning fix for m68k backend
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 21 Apr 2009 15:52:10 +0200
- Subject: Enum warning fix for m68k backend
2009-04-21 Andreas Schwab <schwab@linux-m68k.org>
* config/m68k/linux.h (FINALIZE_TRAMPOLINE): Use enum for second
argument of emit_library_call.
Index: config/m68k/linux.h
===================================================================
--- config/m68k/linux.h (revision 146524)
+++ config/m68k/linux.h (working copy)
@@ -1,7 +1,7 @@
/* Definitions for Motorola 68k running Linux-based GNU systems with
ELF format.
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2006,
- 2007 Free Software Foundation, Inc.
+ 2007, 2009 Free Software Foundation, Inc.
This file is part of GCC.
@@ -209,7 +209,7 @@ along with GCC; see the file COPYING3.
#undef FINALIZE_TRAMPOLINE
#define FINALIZE_TRAMPOLINE(TRAMP) \
emit_library_call (gen_rtx_SYMBOL_REF (Pmode, "__clear_cache"), \
- 0, VOIDmode, 2, TRAMP, Pmode, \
+ LCT_NORMAL, VOIDmode, 2, TRAMP, Pmode, \
plus_constant (TRAMP, TRAMPOLINE_SIZE), Pmode);
/* Clear the instruction cache from `beg' to `end'. This makes an
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."