URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [pr23372.C] - Rev 774
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/23372
// { dg-options -fdump-tree-gimple }
// There shouldn't be an assignment to a temporary in the GIMPLE,
// as that represents a redundant copy.
// { dg-final { scan-tree-dump-not "=" gimple } }
struct A {
int a[1000];
//A(A const &);
};
void f(A);
void g(A *a) { f(*a); }
// { dg-final { cleanup-tree-dump gimple } }
Go to most recent revision | Compare with Previous | Blame | View Log