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: jtv at xs4all dot nl, tim at hollebeek dot com
- Cc: Dautrevaux at microprocess dot com, dewar at gnat dot com, gcc at gcc dot gnu dot org,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: Mon, 7 Jan 2002 18:12:18 -0500 (EST)
- Subject: Re: [PATCH] C undefined behavior fix
<<Is there really language in the Standard preventing the compiler from
constant-folding this code to "int a = 13;"?
>>
If there is no such language (I do not have my copy with me)< then the
standard is most certainly broken :-)