This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/34389] -Wconversion produces wrong warning



------- Comment #10 from manu at gcc dot gnu dot org  2008-06-08 17:30 -------
(In reply to comment #9)
> Does the patch also fix the warning for conditional expressions?  For example:
> 
> short f(int cond, short x, short y)
> {
>   return cond ? x : y;
> }
> 

No, that is a completely different issue.


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]