Merge from trunk:
[official-gcc.git] / main / gcc / testsuite / gcc.target / mips / const-anchor-3.c
blob5988cc409674845024f9d918f6ef22ba049d9605
1 /* Derive a constant (0x1233ffff) from an intermediate value
2 (0x1234000) used to build another constant. */
3 /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
4 /* See PR61926 for the XFAILs. */
5 /* { dg-final { scan-assembler-not "0x12330000|305332224" { xfail *-*-* } } } */
6 /* { dg-final { scan-assembler "\td?addiu\t\\\$5,\\\$\[0-9\]*,-1" { xfail *-*-* } } } */
8 NOMIPS16 void f ()
10 g (0x12340001, 0x1233ffff);