URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
/* PR 30437: Test -Wall
|
/* PR 30437: Test -Wall
|
Don't change this without changing Wno-all.c as well. */
|
Don't change this without changing Wno-all.c as well. */
|
/* { dg-do compile } */
|
/* { dg-do compile } */
|
/* { dg-options "-Wall" } */
|
/* { dg-options "-Wall" } */
|
|
|
void foo()
|
void foo()
|
{
|
{
|
int a;
|
int a;
|
5 * (a == 1) | (a == 2); /* { dg-warning "no effect" "no effect" } */
|
5 * (a == 1) | (a == 2); /* { dg-warning "no effect" "no effect" } */
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.