2009-04-08 Ken Werner <ken.werner@de.ibm.com>

* configure.in: Add square brackets for the array aliasing conftest.
        * configure: Regenerate.
This commit is contained in:
Jeff Johnston 2009-04-08 20:00:01 +00:00
parent 01d23ae749
commit 712789c794
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2009-04-08 Ken Werner <ken.werner@de.ibm.com>
* configure.in: Add square brackets for the array aliasing conftest.
* configure: Regenerate.
2009-04-06 Mike Burgess <wizardsguild@earthlink.net>
* libc/string/strncasecmp.c: Optimized rewrite.

4
newlib/configure vendored
View File

@ -11908,8 +11908,8 @@ if test "${libc_cv_array_aliasing+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat > conftest.c <<EOF
char x3 = { 'a', 'b', 'c' };
extern char y2 __attribute__((alias ("x+1")));
char x[3] = { 'a', 'b', 'c' };
extern char y[2] __attribute__((alias ("x+1")));
EOF
if { ac_try='${CC} $CFLAGS $CPPFLAGS -c conftest.c
1>&5'

View File

@ -398,8 +398,8 @@ fi
AC_CACHE_CHECK(for array aliasing support,
libc_cv_array_aliasing, [dnl
cat > conftest.c <<EOF
char x[3] = { 'a', 'b', 'c' };
extern char y[2] __attribute__((alias ("x+1")));
char x[[3]] = { 'a', 'b', 'c' };
extern char y[[2]] __attribute__((alias ("x+1")));
EOF
if AC_TRY_COMMAND([${CC} $CFLAGS $CPPFLAGS -c conftest.c
1>&AS_MESSAGE_LOG_FD])