diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2009-04-08 20:00:01 +0000 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2009-04-08 20:00:01 +0000 |
commit | 712789c794c6b0fa3c3ae1867aaa73dc4480b50e (patch) | |
tree | 716d78e508b1fc8e7b0297717f53c3c531deed6e | |
parent | 01d23ae74923aa9ef95d8452035071e13aa6f5b0 (diff) | |
download | cygnal-712789c794c6b0fa3c3ae1867aaa73dc4480b50e.tar.gz cygnal-712789c794c6b0fa3c3ae1867aaa73dc4480b50e.tar.bz2 cygnal-712789c794c6b0fa3c3ae1867aaa73dc4480b50e.zip |
2009-04-08 Ken Werner <ken.werner@de.ibm.com>
* configure.in: Add square brackets for the array aliasing conftest.
* configure: Regenerate.
-rw-r--r-- | newlib/ChangeLog | 5 | ||||
-rwxr-xr-x | newlib/configure | 4 | ||||
-rw-r--r-- | newlib/configure.in | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 13ba84fb1..0ac1c7313 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -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. diff --git a/newlib/configure b/newlib/configure index b345c10ca..2d0745931 100755 --- a/newlib/configure +++ b/newlib/configure @@ -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' diff --git a/newlib/configure.in b/newlib/configure.in index 48cb2526f..8c5749798 100644 --- a/newlib/configure.in +++ b/newlib/configure.in @@ -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]) |