diff options
author | Paolo Carlini <pcarlini@unitus.it> | 2002-03-26 01:36:19 +0100 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2002-03-26 00:36:19 +0000 |
commit | 81b1b8c29d9d42c464536912475e99a3c144fca7 (patch) | |
tree | a23d468e8951e5978b72793e3f4770e302d11256 | |
parent | 6b2e80b7b46f99a60eefaa349e1cce2bb50344cd (diff) | |
download | gcc-81b1b8c29d9d42c464536912475e99a3c144fca7.zip gcc-81b1b8c29d9d42c464536912475e99a3c144fca7.tar.gz gcc-81b1b8c29d9d42c464536912475e99a3c144fca7.tar.bz2 |
2002-03-25 Paolo Carlini <pcarlini@unitus.it>
Richard Henderson <rth@redhat.com>
* testsuite/22_locale/codecvt_members_unicode_char.cc
(test01, test02): make sure that the i_lit_base array
is sufficiently aligned.
Co-Authored-By: Richard Henderson <rth@redhat.com>
From-SVN: r51359
-rw-r--r-- | libstdc++-v3/ChangeLog | 7 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/22_locale/codecvt_members_unicode_char.cc | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 991b6b6..6a17493 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,10 @@ +2002-03-25 Paolo Carlini <pcarlini@unitus.it> + Richard Henderson <rth@redhat.com> + + * testsuite/22_locale/codecvt_members_unicode_char.cc + (test01, test02): make sure that the i_lit_base array + is sufficiently aligned. + 2002-03-25 Benjamin Kosnik <bkoz@redhat.com> * config/os/newlib/bits/ctype_noninline.h (ctype::classic): Set to diff --git a/libstdc++-v3/testsuite/22_locale/codecvt_members_unicode_char.cc b/libstdc++-v3/testsuite/22_locale/codecvt_members_unicode_char.cc index 39882b7..0d0d1d5 100644 --- a/libstdc++-v3/testsuite/22_locale/codecvt_members_unicode_char.cc +++ b/libstdc++-v3/testsuite/22_locale/codecvt_members_unicode_char.cc @@ -72,7 +72,7 @@ void test01() const ext_type* e_lit = "black pearl jasmine tea"; int size = strlen(e_lit); - char i_lit_base[50] = + char i_lit_base[50] __attribute__((aligned(__alignof__(int_type)))) = { 0x00, 0x62, 0x00, 0x6c, 0x00, 0x61, 0x00, 0x63, 0x00, 0x6b, 0x00, 0x20, 0x00, 0x70, 0x00, 0x65, 0x00, 0x61, 0x00, 0x72, 0x00, 0x6c, 0x00, 0x20, @@ -159,7 +159,7 @@ void test02() const ext_type* e_lit = "black pearl jasmine tea"; int size = strlen(e_lit); - char i_lit_base[50] = + char i_lit_base[50] __attribute__((aligned(__alignof__(int_type)))) = { 0x62, 0x00, 0x6c, 0x00, 0x61, 0x00, 0x63, 0x00, 0x6b, 0x00, 0x20, 0x00, 0x70, 0x00, 0x65, 0x00, 0x61, 0x00, 0x72, 0x00, 0x6c, 0x00, 0x20, 0x00, |