2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / mips / branch-14.c
blob026417e162b2a382b9c32651b7d1d5355867bb00
1 /* An executable version of branch-2.c. */
2 /* { dg-do run } */
4 #include "branch-helper.h"
6 void __attribute__((noinline))
7 foo (volatile int *x)
9 if (__builtin_expect (*x == 0, 1))
10 OCCUPY_0x1fff8;
13 int
14 main (void)
16 int x = 0;
17 int y = 1;
19 foo (&x);
20 foo (&y);
22 return 0;