This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] C undefined behavior fix
- From: dewar at gnat dot com
- To: dewar at gnat dot com, tim at hollebeek dot com
- Cc: Dautrevaux at microprocess dot com, gcc at gcc dot gnu dot org, groudier at free dot fr,jamagallon at able dot es, jtv at xs4all dot nl, linux-kernel at vger dot kernel dot org,paulus at samba dot org, trini at kernel dot crashing dot org, velco at fadata dot bg
- Date: Wed, 9 Jan 2002 23:33:23 -0500 (EST)
- Subject: Re: [PATCH] C undefined behavior fix
a; b = 1;
yes, that's a permissible transformation, and it is interesting to note
that the normally useless C statement
a;
has a useful meaning for volatile variables :-)