aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr79080.c
blob: de0969d464795b2af39f3196b0643912cebe9c63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* PR target/79080 */
/* { dg-do compile } */
/* { dg-options "-O1" } */
/* { dg-additional-options "-mcpu=8548" { target { powerpc*-*-* && ilp32 } } } */

int
foo (char x)
{
  int a;

  for (;;)
    {
      x += 59;
      if (x != 0)
        a = 0;
      else
        return 0;
    }
}