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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tree-ssa
/
empty-1.C
blob
f7c8ecc14bf996043829b7e045a6a86be30425c8
1
/* { dg-do compile } */
2
/* { dg-options "-O2 -fdump-tree-optimized" } */
3
4
struct S {};
5
S bar (const S &a)
6
{
7
S s;
8
s = a;
9
return s;
10
}
11
12
/* Test whether memcpy call has been optimized out. */
13
/* { dg-final { scan-tree-dump-times "memcpy" 0 "optimized"} } */