aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.target/mips/pr26765.c
blob: c4716cff5baeedcf3fee71b089404f282f1c133c (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 "-w" } */

__thread int *a = 0;

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