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 c/8068] [3.2/3.3 regression] exceedingly high (infinite) memory usage



------- 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


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