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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.dg/] [20031222-1.c] - Diff between revs 149 and 154

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

Rev 149 Rev 154
/* PR c/9163 */
/* PR c/9163 */
/* The following test used to ICE after an error message in C99 mode
/* The following test used to ICE after an error message in C99 mode
   because GCC was trying to expand the tree to rtl.  */
   because GCC was trying to expand the tree to rtl.  */
 
 
/* { dg-do compile } */
/* { dg-do compile } */
/* { dg-options "-std=c99" } */
/* { dg-options "-std=c99" } */
 
 
 
 
 
 
void f ()
void f ()
{
{
        for (; int ; ); /* { dg-error "" } */
        for (; int ; ); /* { dg-error "" } */
}
}
 
 
void foo ()
void foo ()
{
{
        while (int i); /* { dg-error "" } */
        while (int i); /* { dg-error "" } */
}
}
 
 

powered by: WebSVN 2.1.0

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