builtin-has-attribute-4.c: Skip on 32-bit hppa*-*-hpux*.
[official-gcc.git] / gcc / testsuite / gcc.dg / pr85423.c
blob2650d86f3567e18e9969e97012257e571990bea4
1 /* { dg-do compile { target powerpc*-*-* ia64-*-* i?86-*-* x86_64-*-* } } */
2 /* { dg-options "-O2 -fselective-scheduling2 -fvar-tracking-assignments -fno-guess-branch-probability -fno-peephole2 -fno-ssa-phiopt -fno-tree-pre --param max-jump-thread-duplication-stmts=8 -w" } */
3 /* { dg-additional-options "-march=nano" { target i?86-*-* x86_64-*-* } } */
5 int vn, xm;
7 void
8 i1 (int);
10 void
11 mb (int *ap, int ev)
13 while (vn < 1)
15 i1 (vn);
17 ev += *ap && ++vn;
19 while (xm < 1)
20 ++xm;
22 if (*ap == 0)
23 *ap = ev;
25 ++vn;