GNU bug report logs - #16535
Compiler bug ?

Previous Next

Package: emacs;

Reported by: Fabrice Popineau <fabrice.popineau <at> gmail.com>

Date: Fri, 24 Jan 2014 15:05:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 16535 <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Fabrice Popineau <fabrice.popineau <at> gmail.com>
Cc: 16535 <at> debbugs.gnu.org
Subject: Re: Compiler bug ?
Date: Fri, 24 Jan 2014 13:05:25 -0800
There's an obvious bug there: a negated-comparison typo, which I fixed 
in trunk bzr 116147.

This raises another point. The bug was triggered because BITS_PER_ULL < 
BITS_PER_BITS_WORD. The former should be the number of bits in 'unsigned 
long long' (or 'unsigned long' on platforms that lack that), the latter 
the number of bits in 'size_t'. I don't know of any platform where the 
former is less than the latter, so I worry that there's a 
misconfiguration problem here, which might cause some other subtle bugs 
on your platform. Can you please give more details about your platform, 
and how you built Emacs, and the values of BITS_PER_BITS_WORD, 
HAVE_UNSIGNED_LONG_LONG_INT, BITS_PER_ULL, BITS_WORD_MAX, and ULL_MAX on 
your platform? GDB should be able to tell you those values. Thanks.




This bug report was last modified 11 years and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.