aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/m68k/m68k.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 8684d0ab0b8..df705602baa 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -1,6 +1,6 @@
/* Subroutines for insn-output.c for Motorola 68000 family.
Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
- 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
+ 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012
Free Software Foundation, Inc.
This file is part of GCC.
@@ -618,6 +618,12 @@ m68k_option_override (void)
}
#endif
+ if (stack_limit_rtx != NULL_RTX && !TARGET_68020)
+ {
+ warning (0, "-fstack-limit- options are not supported on this cpu");
+ stack_limit_rtx = NULL_RTX;
+ }
+
SUBTARGET_OVERRIDE_OPTIONS;
/* Setup scheduling options. */