aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2011-02-09 15:05:03 +0000
committerRainer Orth <ro@gcc.gnu.org>2011-02-09 15:05:03 +0000
commit67b6839f9965ead41034070d6b9c681fe66c8e4d (patch)
treecb62cb7941a2b616752e7ffbb01fa2cad0fdcebc /gcc/config
parent0b0eaff093015bab43feb8181944b93476e122f5 (diff)
downloadgcc-67b6839f9965ead41034070d6b9c681fe66c8e4d.zip
gcc-67b6839f9965ead41034070d6b9c681fe66c8e4d.tar.gz
gcc-67b6839f9965ead41034070d6b9c681fe66c8e4d.tar.bz2
iris6.h (TARGET_C99_FUNCTIONS): Define.
gcc: * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. gcc/testsuite: * 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*. From-SVN: r169976
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/mips/iris6.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/mips/iris6.h b/gcc/config/mips/iris6.h
index 4663c2a..edf8020 100644
--- a/gcc/config/mips/iris6.h
+++ b/gcc/config/mips/iris6.h
@@ -1,6 +1,6 @@
/* 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.
@@ -38,6 +38,9 @@ along with GCC; see the file COPYING3. If not see
/* 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