summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/ssa-ccp-33.c
blob: 753676994e43de0084c2cfa4745e221944faa771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* { dg-do link } */
/* { dg-options "-O" } */

extern void link_error ();
int a[256];
void foo(int n)
{
  int *p;
  for (p = a; n != 0; --n, ++p)
    ;
  if ((__SIZE_TYPE__)p & (__alignof__ (int) - 1))
    link_error ();
}
int main()
{
  return 0;
}