------- 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 oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-24 13:59:45
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38470

Reply via email to