aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr57108.c
blob: 531af8d245d66e132cbb20ee34cde2ce11fa7b0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR target/57108  */

void __assert_func (void) __attribute__ ((__noreturn__));

void
ATATransfer (int num, int buffer)
{
  int wordCount;

  while (num > 0)
    {
      wordCount = num * 512 / sizeof (int);

      ((0 == (buffer & 63)) ? (void)0 : __assert_func () );
      ((0 == (wordCount & 31)) ? (void)0 : __assert_func ());
    }
}