[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warnings/errors related to possibly clobbered variables
From: |
Stefan Monnier |
Subject: |
Re: Warnings/errors related to possibly clobbered variables |
Date: |
Tue, 13 Jan 2015 14:43:11 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
> Why not declare the offending variables 'volatile' and forget about
> all this stuff?
FWIW, `volatile' might not necessarily give us the behavior we
want/need. IOW if the warning is legit, we should investigate and
decide exactly how to fix the problem (which might involve using
`volatile' or it might on the contrary involve making a copy of the
current value).
If the warning is not legit, then it's a problem in GCC and we shouldn't
do anything on our side other than report a bug.
Stefan "-Werror is wrong"
- Warnings/errors related to possibly clobbered variables, Dmitry Antipov, 2015/01/13
- Re: Warnings/errors related to possibly clobbered variables, Andreas Schwab, 2015/01/13
- Re: Warnings/errors related to possibly clobbered variables, Dmitry Antipov, 2015/01/13
- Re: Warnings/errors related to possibly clobbered variables, Eli Zaretskii, 2015/01/13
- Re: Warnings/errors related to possibly clobbered variables, Paul Eggert, 2015/01/13
- Re: Warnings/errors related to possibly clobbered variables,
Stefan Monnier <=
- Re: Warnings/errors related to possibly clobbered variables, Eli Zaretskii, 2015/01/13
- Re: Warnings/errors related to possibly clobbered variables, Stefan Monnier, 2015/01/13
- Re: Warnings/errors related to possibly clobbered variables, Paul Eggert, 2015/01/13