------- Comment #9 from gangren at google dot com  2007-06-12 18:58 -------
(In reply to comment #8)
> if later compilation passes could prove that the computation
> overflowed in short, then the result would be different than if the 
> computation
> were done in int.

The result could be different. But in some cases, such as this example, the
result  (variable) would be the same. In general, integral promotion might not
be necessary when both destination and sources are short integers?


-- 


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

Reply via email to