aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2003-07-04 12:42:01 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2003-07-04 12:42:01 +0000
commitbcd5d841fe3364d90c7a2f33ccc7a32e26e3b812 (patch)
tree300ef6884a945f9d69fd23d70320ab3048792a49
parent9dd90ac6b27d6ecf3ed570d3438bb4abf22b8e31 (diff)
downloadgcc-bcd5d841fe3364d90c7a2f33ccc7a32e26e3b812.zip
gcc-bcd5d841fe3364d90c7a2f33ccc7a32e26e3b812.tar.gz
gcc-bcd5d841fe3364d90c7a2f33ccc7a32e26e3b812.tar.bz2
aix51.h (TARGET_C99_FUNCTIONS): Define.
* config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define. * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise. From-SVN: r68920
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/aix51.h5
-rw-r--r--gcc/config/rs6000/aix52.h5
3 files changed, 15 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 5457f7d..5973a98 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-07-04 Roger Sayle <roger@eyesopen.com>
+
+ * config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
+ * config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise.
+
2003-07-04 Danny Smith <dannysmith@users.sourceforge.net>
PR c++/5287, PR c++/7910, PR c++/11021
diff --git a/gcc/config/rs6000/aix51.h b/gcc/config/rs6000/aix51.h
index 540bc69..278b6a4 100644
--- a/gcc/config/rs6000/aix51.h
+++ b/gcc/config/rs6000/aix51.h
@@ -196,3 +196,8 @@ do { \
#undef LD_INIT_SWITCH
#define LD_INIT_SWITCH "-binitfini"
+
+/* AIX 5.1 has the float and long double forms of math functions. */
+#undef TARGET_C99_FUNCTIONS
+#define TARGET_C99_FUNCTIONS 1
+
diff --git a/gcc/config/rs6000/aix52.h b/gcc/config/rs6000/aix52.h
index acf1d8a..c066650 100644
--- a/gcc/config/rs6000/aix52.h
+++ b/gcc/config/rs6000/aix52.h
@@ -188,3 +188,8 @@ do { \
#undef LD_INIT_SWITCH
#define LD_INIT_SWITCH "-binitfini"
+
+/* AIX 5.2 has the float and long double forms of math functions. */
+#undef TARGET_C99_FUNCTIONS
+#define TARGET_C99_FUNCTIONS 1
+