--- Comment #3 from paolo dot carlini at oracle dot com 2010-02-24 13:59
---
I think submitter ask for something like this:
int f(int foo, double bar)
{
if (foo >= 0 && foo < sizeof(bar))
return 1;
return foo;
}
to not warn with -Wsign-compare.
--
paolo dot carlini at orac
--- Comment #2 from manu at gcc dot gnu dot org 2010-02-24 13:16 ---
We need a complete testcase. See http://gcc.gnu.org/bugs
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38470
--- Comment #1 from manu at gcc dot gnu dot org 2010-02-24 13:16 ---
We need a complete testcase.
--
manu at gcc dot gnu dot org changed:
What|Removed |Added
--
m dot j dot thayer at googlemail dot com changed:
What|Removed |Added
Severity|normal |enhancement
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38