aboutsummaryrefslogtreecommitdiff
path: root/gcc/defaults.h
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2007-01-19 11:06:56 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2007-01-19 11:06:56 +0000
commit006339cde4079778a003f75127e5bc7fbcde256d (patch)
tree9b2970cfe38e303f9d2cf7b3d12347e9babb016e /gcc/defaults.h
parent8ef4f42c93e00dc873de984525712f2aad5b7036 (diff)
downloadgcc-006339cde4079778a003f75127e5bc7fbcde256d.zip
gcc-006339cde4079778a003f75127e5bc7fbcde256d.tar.gz
gcc-006339cde4079778a003f75127e5bc7fbcde256d.tar.bz2
tm.texi (TARGET_HAS_SINCOS): Document new target macro.
2007-01-19 Richard Guenther <rguenther@suse.de> * doc/tm.texi (TARGET_HAS_SINCOS): Document new target macro. * defaults.h (TARGET_HAS_SINCOS): Default to off. * config/linux.h (TARGET_HAS_SINCOS): Set to on if we have glibc. * config/alpha/linux.h (TARGET_HAS_SINCOS): Likewise. * config/sparc/linux.h (TARGET_HAS_SINCOS): Likewise. * config/sparc/linux64.h (TARGET_HAS_SINCOS): Likewise. * config/rs6000/linux.h (TARGET_HAS_SINCOS): Likewise. * config/rs6000/linux64.h (TARGET_HAS_SINCOS): Likewise. From-SVN: r120952
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r--gcc/defaults.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h
index 6af5f17..b17d59e 100644
--- a/gcc/defaults.h
+++ b/gcc/defaults.h
@@ -796,6 +796,12 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
#define TARGET_C99_FUNCTIONS 0
#endif
+/* Determine whether the target runtime library has
+ a sincos implementation following the GNU extension. */
+#ifndef TARGET_HAS_SINCOS
+#define TARGET_HAS_SINCOS 0
+#endif
+
/* Indicate that CLZ and CTZ are undefined at zero. */
#ifndef CLZ_DEFINED_VALUE_AT_ZERO
#define CLZ_DEFINED_VALUE_AT_ZERO(MODE, VALUE) 0