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
/
fold-compare-6.c
blob
0c4c657d947bd2204bbb3510ef3130a3772f00b0
1
/* { dg-do compile } */
2
/* { dg-options "-fdump-tree-original" } */
3
4
char
digs
[] =
"0123456789"
;
5
int
foo
(
void
)
6
{
7
int
xlcbug
=
1
/ (&(
digs
+
5
)[-
2
+ (
_Bool
)
1
] == &
digs
[
4
] ?
1
: -
1
);
8
return
xlcbug
;
9
}
10
11
/* { dg-final { scan-tree-dump "xlcbug = 1;" "original" } } */