summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-04 12:42:01 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-04 12:42:01 +0000
commitdc1b4094feb3d902cb9dbcb2671d850322ae30b1 (patch)
tree300ef6884a945f9d69fd23d70320ab3048792a49
parentb28c727a1e13feae72be21b9d3ae3e2aee8e11c9 (diff)
downloadppe42-gcc-dc1b4094feb3d902cb9dbcb2671d850322ae30b1.tar.gz
ppe42-gcc-dc1b4094feb3d902cb9dbcb2671d850322ae30b1.zip
* config/rs6000/aix51.h (TARGET_C99_FUNCTIONS): Define.
* config/rs6000/aix52.h (TARGET_C99_FUNCTIONS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68920 138bc75d-0d04-0410-961f-82ee72b054a4
-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 5457f7d1bf6..5973a98ef0a 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 540bc696b02..278b6a4c32a 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 acf1d8ae351..c06665066b3 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
+
OpenPOWER on IntegriCloud