aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gnu.org>1994-07-13 11:09:55 +0000
committerTorbjorn Granlund <tege@gnu.org>1994-07-13 11:09:55 +0000
commitb87ef81e35ec66a9f139e1ce864233cd66e6a4d6 (patch)
treeda9a84fd988bb0f8331f5e271a3ebb03ef1a6ab7
parent4ac3d9940723c5fbfadfec01ce011f0d26ca7d82 (diff)
downloadgcc-b87ef81e35ec66a9f139e1ce864233cd66e6a4d6.zip
gcc-b87ef81e35ec66a9f139e1ce864233cd66e6a4d6.tar.gz
gcc-b87ef81e35ec66a9f139e1ce864233cd66e6a4d6.tar.bz2
(USE_C_ALLOCA): Define.
From-SVN: r7759
-rw-r--r--gcc/config/pa/xm-pa.h5
-rw-r--r--gcc/config/pa/xm-pahpux.h5
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/pa/xm-pa.h b/gcc/config/pa/xm-pa.h
index fa50467..bbcadce 100644
--- a/gcc/config/pa/xm-pa.h
+++ b/gcc/config/pa/xm-pa.h
@@ -51,3 +51,8 @@ extern int errno;
/* HP's compiler has problems with enum bitfields. */
#define ONLY_INT_FIELDS
+
+/* If not compiled with GNU C, use C alloca. */
+#ifndef __GNUC__
+#define USE_C_ALLOCA
+#endif
diff --git a/gcc/config/pa/xm-pahpux.h b/gcc/config/pa/xm-pahpux.h
index 87aa697..440b66a 100644
--- a/gcc/config/pa/xm-pahpux.h
+++ b/gcc/config/pa/xm-pahpux.h
@@ -61,3 +61,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* HP's compiler has problems with enum bitfields. */
#define ONLY_INT_FIELDS
+
+/* If not compiled with GNU C, use C alloca. */
+#ifndef __GNUC__
+#define USE_C_ALLOCA
+#endif