URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
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 "" } */
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.