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
This commit is contained in:
Paolo Carlini 2002-03-26 01:36:19 +01:00 committed by Paolo Carlini
parent 6b2e80b7b4
commit 81b1b8c29d
2 changed files with 9 additions and 2 deletions

View File

@ -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

View File

@ -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,