summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/lto/ipareference2_1.c
blob: c7653b0807ba04e3987932328b3eef9371d5be3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
void abort (void);
extern int *a[5];
extern int b,c,d,e,f;
__attribute__ ((noinline, noclone))
void
other_ltrans (void)
{
  if (!__builtin_constant_p (a[1]==a[2]))
    abort ();
  if (a[1]!=a[2])
    abort ();
  *(a[1])=11;
}