OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [opt/] [static1.C] - Blame information for rev 764

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

Line No. Rev Author Line
1 693 jeremybenn
// PR c++/6073
2
// This testcase ICEd because finish_struct_bits changed
3
// A's and const A's TYPE_MODE from QI to BLK, but did
4
// not change a's DECL_MODE because its mode was not
5
// TYPE_MAIN_VARIANT.
6
 
7
struct A
8
{
9
  static const A a;
10
  ~A ();
11
};
12
 
13
void bar (A x);
14
void foo ();
15
 
16
void
17
foo ()
18
{
19
  bar (A::a);
20
}

powered by: WebSVN 2.1.0

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