Debian Codegraph @

gcc/testsuite/gcc.dg/gimplefe-45.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fgimple" } */
3
4 /* This used to ICE when simplifying (A & C) != 0 ? D : 0
5 for pointer types. */
6
7 int *__GIMPLE ()
8 p (int n)
9 {
10 int *_2;
11 int *_t;
12 int *_t1;
13 _Bool _3;
14 _t = (int*)8;
15 _t1 = 0;
16 n = n & 2;
17 _3 = n != 0;
18 _2 = _3 ? _t : _t1;
19 return _2;
20 }
21