Commit 216c92c9 by Martin Jambor Committed by Georg-Johann Lay

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
parent 021afdb4
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.
......
......@@ -14,7 +14,7 @@ foo (myint *p)
return *p;
}
#define cst 0xdeadbeef
#define cst (int) 0xdeadbeef
#define NUM 8
struct blah
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment