summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/pr26765.c
blob: 25c2e8d4c83a1bec2757ee2415ee6316d0a72fa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* PR target/pr26765
   This testcase used to trigger an unrecognizable insn.  */

/* { dg-do compile } */
/* { dg-options "-O2 -w" } */

__thread int *a = 0;

NOMIPS16 void foo (void)
{
  extern int *b;
  b = (int *) ((*a));
}