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

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [g++.dg/] [other/] [infloop-1.C] - Diff between revs 301 and 338

Only display areas with differences | Details | Blame | View Log

Rev 301 Rev 338
// PR 18300: This sends old compilers into an infinite loop on x86_64
// PR 18300: This sends old compilers into an infinite loop on x86_64
// Testcase and patch contributed by Zak Kipling 
// Testcase and patch contributed by Zak Kipling 
struct base1 { };
struct base1 { };
struct base2 { };
struct base2 { };
struct base3 { };
struct base3 { };
struct derived : base1, base2, base3 { };
struct derived : base1, base2, base3 { };
void foo(derived);
void foo(derived);
int main()
int main()
{
{
  foo(derived());
  foo(derived());
}
}
 
 

powered by: WebSVN 2.1.0

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