mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 20:39:33 +08:00
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:
parent
01d23ae749
commit
712789c794
@ -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
4
newlib/configure
vendored
@ -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'
|
||||
|
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user