------- Comment #5 from manu at gcc dot gnu dot org  2010-09-23 08:13 -------
(In reply to comment #4)
> "Me too". This is real code, from xdgmime library (errno doesn't matter)
> 
>       long retval = -1;
>       ...
>       if ((retval < INT_MIN) || (retval > INT_MAX) || (errno != 0))
>         return -1;

What is the above testing for when int == long?


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org


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

Reply via email to