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