repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
gimplefe-45.c
blob
8e1447ff3aea8ab067f835c2a4bce345bc163b77
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