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

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
The warning is correct, short + short may overflow when computed in 'int' and
thus may get truncated with the conversion to short.  -original shows the
code after some (premature) optimization.

Reply via email to