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
PR testsuite/86649
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
ssa-cast-1.C
blob
cf0de2eb6818d360604fcab84682aa912a0d1284
1
/* { dg-do compile } */
2
/* { dg-options "-O1 -fdump-tree-optimized" } */
3
4
int &f(int *a)
5
{
6
return *a;
7
}
8
9
/* There should be no cast as pointer and references are
10
considered the same type. */
11
/* { dg-final { scan-tree-dump-times "\\(int &\\)" 0 "optimized"} } */