modernc.org/cc@v1.0.1/testdata/gcc-6.3.0/gcc/testsuite/gcc.c-torture/execute/pr20621-1.c (about) 1 /* When generating o32 MIPS PIC, main's $gp save slot was out of range 2 of a single load instruction. */ 3 struct big { int i[sizeof (int) >= 4 && sizeof (void *) >= 4 ? 0x4000 : 4]; }; 4 struct big gb; 5 int foo (struct big b, int x) { return b.i[x]; } 6 #if defined(STACK_SIZE) && STACK_SIZE <= 0x10000 7 int main (void) { return 0; } 8 #else 9 int main (void) { return foo (gb, 0) + foo (gb, 1); } 10 #endif