diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-05 23:07:13 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-05 23:07:13 +0000 |
commit | 5ca95c5520ceeee8befb35f65dd6f7e1b191c3bf (patch) | |
tree | 7567332b390a7e6cb29fca6fb6b9dabf55edd5b6 /libiberty | |
parent | 2efe013a4efac319a5a96defb3fd314c861d6091 (diff) | |
download | gcc-5ca95c5520ceeee8befb35f65dd6f7e1b191c3bf.tar.gz |
* regex.c: Only use "#pragma alloca" on AIX when not using gcc.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56871 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty')
-rw-r--r-- | libiberty/ChangeLog | 4 | ||||
-rw-r--r-- | libiberty/regex.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 43a187d1bab..3070ac359e8 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -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. diff --git a/libiberty/regex.c b/libiberty/regex.c index a83cda05527..e2763dc2a51 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 |