aboutsummaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2002-09-05 23:07:13 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2002-09-05 23:07:13 +0000
commit70c4e67a71d7d3b5b9ce02769e55b4e68bb07aa7 (patch)
tree7567332b390a7e6cb29fca6fb6b9dabf55edd5b6 /libiberty/regex.c
parent7d97b0549d38d57c5c6504f345b8941d1bcf616d (diff)
downloadgcc-70c4e67a71d7d3b5b9ce02769e55b4e68bb07aa7.zip
gcc-70c4e67a71d7d3b5b9ce02769e55b4e68bb07aa7.tar.gz
gcc-70c4e67a71d7d3b5b9ce02769e55b4e68bb07aa7.tar.bz2
* regex.c: Only use "#pragma alloca" on AIX when not using gcc.
From-SVN: r56871
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r--libiberty/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c
index a83cda0..e2763dc 100644
--- a/libiberty/regex.c
+++ b/libiberty/regex.c
@@ -25,7 +25,7 @@
routines with an "x" prefix so they do not collide with the native regex
routines or with other components regex routines. */
/* AIX requires this to be the first thing in the file. */
-#if defined _AIX && !defined REGEX_MALLOC
+#if defined _AIX && !defined __GNUC__ && !defined REGEX_MALLOC
#pragma alloca
#endif