summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/pr33256.c
blob: ead5888cc079167247835b728df6b8ee4a3cc547 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* GCC used to report an ICE for this test because we generated a LO_SUM
   for an illegitimate constant.  */
/* { dg-options "-mabi=64 -msym32 -O2 -EB -mno-abicalls" } */
extern unsigned long a[];
int b (int);

int
c (void)
{
  return b (a[0]);
}