aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr84100.c
blob: 676d0c78dea68cb34ad789f763fadb43a881084d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* PR c/84100 */
/* { dg-do compile } */
/* { dg-options "-O2" } */

void bar (void);

__attribute__((optimize ("align-loops=16", "align-jumps=16",
			 "align-labels=16", "align-functions=16")))
void
foo (void)
{			/* { dg-warning "bad option" } */
  for (int i = 0; i < 1024; ++i)
    bar ();
}