Fortran: fix dependency checks for inquiry refs [PR115039]
[official-gcc.git] / gcc / testsuite / gcc.target / mips / xgot-n32-avoid-gp.c
blob3f52fc5a765f6e6f604edf77404e56d99652f96b
1 /* Check if we skip store and load gp if there is no stub function call. */
2 /* { dg-options "-mips64r2 -mxgot -mabi=n32 -fPIC" } */
4 extern int a;
5 int
6 foo ()
8 return a;
10 /* { dg-final { scan-assembler-not "\tsd\t\\\$28," } } */
11 /* { dg-final { scan-assembler-not "\tld\t\\\$28," } } */