+2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define.
+
2011-02-09 Martin Jambor <mjambor@suse.cz>
PR middle-end/45505
/* Definitions of target machine for GNU compiler. IRIX 6.5 version.
Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 2000,
- 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+ 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
Free Software Foundation, Inc.
This file is part of GCC.
/* Configuration-independent MIPS rules. */ \
BASE_DRIVER_SELF_SPECS
+/* IRIX 6.5 has the float and long double forms of math functions. */
+#define TARGET_C99_FUNCTIONS 1
+
/* MIPS specific debugging info */
#define MIPS_DEBUGGING_INFO 1
+2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
+
+ * gcc.dg/builtins-config.h: Remove __sgi handling.
+ * lib/target-supports.exp (add_options_for_c99_runtime): Add
+ -std=c99 for mips-sgi-irix6.5*.
+
2011-02-09 Martin Jambor <mjambor@suse.cz>
PR middle-end/45505
-/* Copyright (C) 2003, 2004, 2005, 2006, 2009 Free Software Foundation.
+/* Copyright (C) 2003, 2004, 2005, 2006, 2009, 2011 Free Software Foundation.
Define macros useful in tests for bulitin functions. */
#if defined(__hppa) && defined(__hpux)
/* PA HP-UX doesn't have the entire C99 runtime. */
-#elif defined(__sgi)
-/* Irix6 doesn't have the entire C99 runtime. */
#elif defined(__AVR__)
/* AVR doesn't have the entire C99 runtime. */
#elif defined(__FreeBSD__) && (__FreeBSD__ < 9)
if { [istarget *-*-solaris2*] } {
return "$flags -std=c99"
}
+ if { [istarget mips-sgi-irix6.5*] } {
+ return "$flags -std=c99"
+ }
if { [istarget powerpc-*-darwin*] } {
return "$flags -mmacosx-version-min=10.3"
}