This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/8068] [3.2/3.3 regression] exceedingly high (infinite) memory usage
- From: "acarmeli at mathworks dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 May 2008 12:37:37 -0000
- Subject: [Bug c/8068] [3.2/3.3 regression] exceedingly high (infinite) memory usage
- References: <bug-8068-1578@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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