]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* regex.c: Only use "#pragma alloca" on AIX when not using gcc.
authorRoger Sayle <roger@eyesopen.com>
Thu, 5 Sep 2002 23:07:13 +0000 (23:07 +0000)
committerRoger Sayle <sayle@gcc.gnu.org>
Thu, 5 Sep 2002 23:07:13 +0000 (23:07 +0000)
From-SVN: r56871

libiberty/ChangeLog
libiberty/regex.c

index 43a187d1bab42e0798b6d678b4abc6a38ee51397..3070ac359e8f4f4e68c592ec185a53842e651aa9 100644 (file)
@@ -1,3 +1,7 @@
+2002-09-05  Roger Sayle  <roger@eyesopen.com>
+
+       * regex.c: Only use "#pragma alloca" on AIX when not using gcc.
+
 2002-08-07  DJ Delorie  <dj@redhat.com>
 
        * regex.c (re_error_msgid): Just use a simple array of strings.
index a83cda055274b0c5f3641a95ab0c7a598004382f..e2763dc2a514a968298d49a065c8c0944df65dd0 100644 (file)
@@ -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