comparison gcc/testsuite/gcc.c-torture/compile/pr84960.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents
children
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
1 /* PR tree-optimization/84960 */
2 /* { dg-do compile { target indirect_jumps } } */
3
4 void
5 foo (unsigned int a, float b, void *c)
6 {
7 lab:
8 if ((b - (a %= 0) < 1U) * -1U)
9 ;
10 else
11 {
12 unsigned int f = a;
13 __builtin_unreachable ();
14 c = &&lab;
15 }
16 goto *c;
17 }