URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 154 |
Rev 816 |
/* -Wall is not supposed to trigger -Wsign-compare for C. PR 10604.
|
/* -Wall is not supposed to trigger -Wsign-compare for C. PR 10604.
|
See also g++.dg/warn/compare1.C. */
|
See also g++.dg/warn/compare1.C. */
|
|
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-Wall" } */
|
/* { dg-options "-Wall" } */
|
|
|
int f(unsigned a, int b)
|
int f(unsigned a, int b)
|
{
|
{
|
return a < b; /* { dg-bogus "signed and unsigned" } */
|
return a < b; /* { dg-bogus "signed and unsigned" } */
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.