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 tree-optimization/32309] Unnecessary conversion from short to unsigend short breaks vectorization



------- Comment #2 from gangren at google dot com  2007-06-12 17:28 -------
(In reply to comment #1)
> The conversions are not Unnecessary, they are necessary because
> short_var+short_var when that would overflow the range of short is still
> defined.
> 

Do you mean that short_var + short_var is defined as (short)((unsigned
short)short_var + (unsigned short)short_var)?


-- 


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


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