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
/
tree-ssa
/
alias-38.c
blob
a5c414934735a210748d0cd62f80c12d9242eb20
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
int
x
;
5
int
y
;
6
7
int
main
()
8
{
9
int
*
volatile
p
= &
x
;
10
return
(
p
!= &
y
);
11
}
12
13
/* { dg-final { scan-tree-dump " != &y" "optimized" } } */
14
/* { dg-final { scan-tree-dump-not "return 1;" "optimized" } } */