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
/
pr40172-3.c
blob
583aab0f7129c35b127fb96fd836d837305a5785
1
/* PR middle-end/40172 */
2
/* { dg-do compile } */
3
/* { dg-xfail-if "" { "*-*-*" } } */
4
/* { dg-options "-Wall -W -Werror -Wlogical-op" } */
5
6
extern
int
xxx
;
7
8
#define XXX xxx
9
10
int
11
test
(
void
)
12
{
13
if
(!
XXX
&&
xxx
)
14
return
4
;
15
else
16
return
0
;
17
}