re PR testsuite/52641 (Test cases fail for 16-bit int targets)

PR testsuite/52641
	* gcc.dg/misaligned-expand-1.c (cst): Cast to int.
	* gcc.dg/misaligned-expand-2.c (cst): Likewise.

From-SVN: r185602
This commit is contained in:
Martin Jambor 2012-03-21 11:48:08 +01:00 committed by Georg-Johann Lay
parent 021afdb4bb
commit 216c92c984
3 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2012-03-21 Martin Jambor <mjambor@suse.cz>
PR testsuite/52641
* gcc.dg/misaligned-expand-1.c (cst): Cast to int.
* gcc.dg/misaligned-expand-2.c (cst): Likewise.
2012-03-21 Andrew Stubbs <ams@codesourcery.com>
* gcc.target/arm/thumb-16bit-ops.c: New file.

View File

@ -14,7 +14,7 @@ foo (myint *p)
return *p;
}
#define cst 0xdeadbeef
#define cst (int) 0xdeadbeef
#define NUM 8
struct blah

View File

@ -14,7 +14,7 @@ foo (myint *p, unsigned int i)
*p = i;
}
#define cst 0xdeadbeef
#define cst (int) 0xdeadbeef
#define NUM 8
struct blah
@ -25,8 +25,6 @@ struct blah
struct blah g;
#define cst 0xdeadbeef
int
main (int argc, char **argv)
{