projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 4.7.3
[platform/upstream/gcc48.git]
/
gcc
/
testsuite
/
g++.dg
/
opt
/
pr55331.C
1
// PR tree-optimization/55331
2
// { dg-do compile }
3
// { dg-options "-O2 -fno-tree-fre" }
4
5
struct A {};
6
7
void
8
foo (A *p, bool x)
9
{
10
A a;
11
char *e = (char *) (&a + 1);
12
if (x)
13
__builtin_memmove (p, &a, e - (char *) &a);
14
}