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] - Blame information for rev 717

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/23372
2
// { dg-options -fdump-tree-gimple }
3
 
4
// There shouldn't be an assignment to a temporary in the GIMPLE,
5
// as that represents a redundant copy.
6
// { dg-final { scan-tree-dump-not "=" gimple } }
7
 
8
struct A {
9
  int a[1000];
10
  //A(A const &);
11
};
12
void f(A);
13
void g(A *a) { f(*a); }
14
 
15
// { dg-final { cleanup-tree-dump gimple } }

powered by: WebSVN 2.1.0

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