URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 298 |
Rev 338 |
/* PR11492 */
|
/* PR11492 */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-Wsign-compare" } */
|
/* { dg-options "-Wsign-compare" } */
|
int main( void )
|
int main( void )
|
{
|
{
|
unsigned int a;
|
unsigned int a;
|
unsigned char b;
|
unsigned char b;
|
for ( a = 0, b = 2; a > b * 100; a++ ) /* { dg-bogus "comparison between signed and unsigned integer" "" } */
|
for ( a = 0, b = 2; a > b * 100; a++ ) /* { dg-bogus "comparison between signed and unsigned integer" "" } */
|
{ ; }
|
{ ; }
|
|
|
return 0;
|
return 0;
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.