Commit e018435a by Richard Sandiford Committed by Richard Sandiford

pr55315.c: Cast to long rather than int.

gcc/testsuite/
	* gcc.target/mips/pr55315.c: Cast to long rather than int.

From-SVN: r194704
parent 648396d1
2012-12-23 Richard Sandiford <rdsandiford@googlemail.com>
* gcc.target/mips/pr55315.c: Cast to long rather than int.
2012-12-22 Tobias Burnus <burnus@net-b.de> 2012-12-22 Tobias Burnus <burnus@net-b.de>
PR fortran/55763 PR fortran/55763
......
...@@ -5,7 +5,7 @@ int data[4096]; ...@@ -5,7 +5,7 @@ int data[4096];
int int
f (void) f (void)
{ {
return (((unsigned int) &data[0]) == 0xdeadbea0U); return (((unsigned long) &data[0]) == 0xdeadbea0U);
} }
/* { dg-final { scan-assembler-not "\tmove\t\\\$2,\\\$0" } } */ /* { dg-final { scan-assembler-not "\tmove\t\\\$2,\\\$0" } } */
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