[Bug c/38470] Feature request: smarter signed/unsigned warning

2010-02-24 Thread paolo dot carlini at oracle dot com
--- 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

[Bug c/38470] Feature request: smarter signed/unsigned warning

2010-02-24 Thread manu at gcc dot gnu dot org
--- 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

[Bug c/38470] Feature request: smarter signed/unsigned warning

2010-02-24 Thread manu at gcc dot gnu dot org
--- 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

[Bug c/38470] Feature request: smarter signed/unsigned warning

2008-12-10 Thread m dot j dot thayer at googlemail dot com
-- 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