bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2790: emacs 22.1.1 cannot open 5GB file on 64GB 64-bit GNU/Linux box


From: Stefan Monnier
Subject: bug#2790: emacs 22.1.1 cannot open 5GB file on 64GB 64-bit GNU/Linux box
Date: Mon, 30 Mar 2009 09:01:01 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux)

> The compiler can (and does) optimize on the fact that overflow does not
> occur, thus the operation x*4/4 becomes a no-op.

No way!?  Hmm... yes, I guess it's within the allowed semantics, indeed.
We could prevent optimization by going through a volatile var,
of course.

So in the end, I still prefer the current solution of removing the
check altogether.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]