[Bug c/34389] -Wconversion produces wrong warning

rainy6144 at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Apr 23 07:21:00 GMT 2008



------- Comment #9 from rainy6144 at gmail dot com  2008-04-23 07:20 -------
Does the patch also fix the warning for conditional expressions?  For example:

short f(int cond, short x, short y)
{
  return cond ? x : y;
}


-- 

rainy6144 at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rainy6144 at gmail dot com


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



More information about the Gcc-bugs mailing list