Fixes a warning seen with -mabi=64 on mips64-linux-gnu. The test was for an rtl optimisation, so the choice between "int" and "long" doesn't matter for the original ILP32 target.
Tested on mips64-linux-gnu and applied. Richard gcc/testsuite/ * gcc.target/mips/pr55315.c: Cast to long rather than int. Index: gcc/testsuite/gcc.target/mips/pr55315.c =================================================================== --- gcc/testsuite/gcc.target/mips/pr55315.c 2012-11-27 18:52:27.000000000 +0000 +++ gcc/testsuite/gcc.target/mips/pr55315.c 2012-12-23 09:07:03.340059976 +0000 @@ -5,7 +5,7 @@ int f (void) { - return (((unsigned int) &data[0]) == 0xdeadbea0U); + return (((unsigned long) &data[0]) == 0xdeadbea0U); } /* { dg-final { scan-assembler-not "\tmove\t\\\$2,\\\$0" } } */