Remove not needed __builtin_expect due to malloc predictor.
[official-gcc.git] / gcc / testsuite / gcc.target / mips / umips-branch-13.c
blobe84b46296e5a139136233155c0c7e7a3797b3ce8
1 /* { dg-options "-mshared -mabi=n32 -mmicromips" } */
2 /* { dg-final { scan-assembler-not "(\\\$28|%gp_rel|%got)" } } */
3 /* { dg-final { scan-assembler-not "\tjrc?\t\\\$1\n" } } */
5 #include "branch-helper.h"
7 NOMIPS16 void
8 foo (int (*bar) (void), int *x)
10 *x = bar ();
11 if (__builtin_expect (*x == 0, 1))
12 OCCUPY_0xfffc;