emacs-devel
[Top][All Lists]
Advanced

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

Re: Warnings/errors related to possibly clobbered variables


From: Paul Eggert
Subject: Re: Warnings/errors related to possibly clobbered variables
Date: Tue, 13 Jan 2015 13:31:55 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

On 01/13/2015 12:10 PM, Eli Zaretskii wrote:
The compiler is rarely wrong in these cases

But it does appear to be wrong in this case. That's why I filed a compiler bug, and the GCC maintainers seem to agree that it's a bug.

Long ago when I ran into this set of GCC bugs, I shrugged and added 'volatile's to pacify the buggy GCCs. Stefan removed some of them as part of some of his other fixes, but I suspect that a few 'volatile's are not necessary even today (except perhaps to pacify the GCC bug).

I say "set of GCC bugs" because I suspect there are more than one, some of which have been fixed, and some of which remain.




reply via email to

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