gcc/testsuite/gcc.target/mips/const-anchor-4.c
raw| 1 | /* Derive a constant (0x30001) from another constant. */ |
| 2 | /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ |
| 3 | /* See PR61926 for the XFAILs. */ |
| 4 | /* { dg-final { scan-assembler-not "0x300000|196608" { xfail *-*-* } } } */ |
| 5 | /* { dg-final { scan-assembler "\td?addiu\t\\\$5,\\\$\[0-9\]*,32763" { xfail *-*-* } } } */ |
| 6 | |
| 7 | extern void g (int, int); |
| 8 | |
| 9 | NOMIPS16 void f () |
| 10 | { |
| 11 | g (0x28006, 0x30001); |
| 12 | } |