------- Comment #6 from acarmeli at mathworks dot com 2008-05-28 12:37 ------- Richard,
This is the root cause of the problem: I agree with you that an overflow can occur and there is no way to guarantee the resulting value. However, it must be a 32-bit value. It cannot all of a sudden become a 64-bit value, and that's the violation of the standard that I see. Alex. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8068