[Bug c++/40752] -Wconversion generates false warnings for operands not larger than target type

dichlofos-mv at yandex dot ru gcc-bugzilla@gcc.gnu.org
Wed Jun 20 14:59:00 GMT 2012


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

Mikhail Veltishchev <dichlofos-mv at yandex dot ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dichlofos-mv at yandex dot
                   |                            |ru

--- Comment #24 from Mikhail Veltishchev <dichlofos-mv at yandex dot ru> 2012-06-20 14:57:31 UTC ---
Well, please fix this. My cases are instructions like
unsigned short x = 100;
unsigned short y = 200;
// gives a warning
x += y;



More information about the Gcc-bugs mailing list