OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc2/] [gcc/] [testsuite/] [g++.dg/] [other/] [crash-2.C] - Diff between revs 301 and 384

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

Rev 301 Rev 384
// { dg-do compile }
// { dg-do compile }
// { dg-options "-finline -finline-functions" }
// { dg-options "-finline -finline-functions" }
// Contributed by Hans Buchmann 
// Contributed by Hans Buchmann 
// PR c++/14033: ICE while inlining a function with incomplete parameter
// PR c++/14033: ICE while inlining a function with incomplete parameter
struct A;           // { dg-error "forward declaration" }
struct A;           // { dg-error "forward declaration" }
void foo(A a) {}    // { dg-error "incomplete" }
void foo(A a) {}    // { dg-error "incomplete" }
struct A {};
struct A {};
void bar(void)
void bar(void)
{
{
 foo(A());
 foo(A());
}
}
 
 

powered by: WebSVN 2.1.0

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