rjmccall added a comment.

I think we're correct not to warn here and that GCC/ICC are being noisy.  The 
existence of a temporary promotion to a wider type doesn't justify warning on 
arithmetic between two operands that are the same size as the ultimate result.  
It is totally fair for users to think of this operation as being "closed" on 
the original type.


Repository:
  rC Clang

https://reviews.llvm.org/D44559



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to