read of control to read a memory
location simultaneously.
[end quote]
-- Ross Smith
rking on (about 60k
lines of C++) for anywhere && and || appear on the same line. I got 49
hits, 29 where && was evaluated before ||, 20 the other way around. (All
of them, I'm happy to say, properly parenthesised.) So while
&&-inside-|| seems to be slightly more common, I'd certainly dispute
James's claim that it's "far more common".
-- Ross Smith
e should be the default.
-- Ross Smith
at "we're doing
something more complicated than straightforward iteration here, so read
carefully".
-- Ross Smith
dress, alarm bells start
going off in their minds, and they go away.
(If the email request was on the bug report form itself instead of a
login, and was _optional_, probably more people would be willing to
fill it in.)
--
Ross Smith [EMAIL PROTECTED] Auckland, New Zealand
gnu89.
-- Ross Smith
---
gcc 4.0.1, 4.2.1, and 4.3.4 don't warn about this. Looks like a regression.
-- Ross Smith
low_num = num < ((size_t)1 << (max_bits * 5 / 8));
low_size = size < ((size_t)1 << (max_bits * 3 / 8));
if (__builtin_expect(low_num && low_size, 1)
|| num <= ~(size_t)0 / size)
return num * size;
else
re
27;s code had. That was
sort of the whole point. If you don't care whether it gives the right
answer you might as well just leave the status quo.
--
Ross Smith [EMAIL PROTECTED] Auckland, New Zealand
"Those who can make you believe absurdities can
make you commit atrocities."-- Voltaire
Gabriel Dos Reis wrote:
Joe Buck <[EMAIL PROTECTED]> writes:
| On Sat, Sep 08, 2007 at 04:33:50PM -0500, Gabriel Dos Reis wrote:
| > "Richard Guenther" <[EMAIL PROTECTED]> writes:
| >
| > | On 9/8/07, Chris Lattner <[EMAIL PROTECTED]> wrote:
| > | > I understand, but allowing users to override
zero, then a standard C compiler has to use some other
value for the null pointer.
-- Ross Smith
e existing
wording was intended to mean, but I can also see how it could easily be
interpreted to mean that -fstrict-aliasing automatically implies
-Wstrict-aliasing.
-- Ross Smith
12 matches
Mail list logo