URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 301 |
Rev 338 |
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-O2 -fdump-tree-optimized" } */
|
/* { dg-options "-O2 -fdump-tree-optimized" } */
|
|
|
struct S {};
|
struct S {};
|
S bar (const S &a)
|
S bar (const S &a)
|
{
|
{
|
S s;
|
S s;
|
s = a;
|
s = a;
|
return s;
|
return s;
|
}
|
}
|
|
|
/* Test whether memcpy call has been optimized out. */
|
/* Test whether memcpy call has been optimized out. */
|
/* { dg-final { scan-tree-dump-times "memcpy" 0 "optimized"} } */
|
/* { dg-final { scan-tree-dump-times "memcpy" 0 "optimized"} } */
|
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
/* { dg-final { cleanup-tree-dump "optimized" } } */
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.