comparison gcc/testsuite/gcc.dg/pr87117-2.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 /* { dg-do compile } */
2 /* { dg-options "-O -fcode-hoisting" } */
3
4 void e();
5
6 void a(int c, char **d)
7 {
8 char b;
9 if (1 < c)
10 b = (char)(__INTPTR_TYPE__)d[0];
11 if (1 < c && b)
12 e();
13 while (1 < c)
14 ;
15 }