This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Assignment to volatile objects
- From: Vincent Lefevre <vincent+gcc at vinc17 dot org>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 3 Feb 2012 13:39:12 +0100
- Subject: Re: Assignment to volatile objects
- References: <20120131090257.3a2934b4@tade.bendor.com.au> <09787EF419216C41A903FD14EE5506DD0310D297A4@AUSX7MCPC103.AMER.DELL.COM> <4F271E84.3060209@hesbynett.no> <20120131095928.758bae75@tade.bendor.com.au> <4F27A349.10706@westcontrol.com>
On 2012-01-31 09:16:09 +0100, David Brown wrote:
> For normal variables, "a = b = 0" is just ugly - but that is a
> matter of opinion.
and it is handled badly by GCC:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52106
(this is just a missing warning... Still, inconsistency is bad.)
--
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)