OpenCores
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 751

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

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.