1 /* { dg-do compile } */ 2 /* { dg-options "-O1 -fdump-tree-dom2-details-blocks" } */ 3 /* We want to verify no outgoing edge from a conditional 4 has a probability of 100%. */ 5 /* { dg-final { scan-tree-dump-not "succ:\[ \]+. .100.0%. .\(TRUE|FALSE\)_VALUE" "dom2"} } */ 6 7 8 void (*zend_block_interruptions) (void); 9 _zend_mm_alloc_int(int * heap,long int size)10int * _zend_mm_alloc_int (int * heap, long int size) 11 { 12 int *best_fit; 13 long int true_size = (size < 15 ? 32 : size); 14 15 if (zend_block_interruptions) 16 zend_block_interruptions (); 17 18 if (__builtin_expect ((true_size < 543), 1)) 19 best_fit = heap + 2; 20 else 21 best_fit = heap; 22 23 return best_fit; 24 } 25 26