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, gdr at codesourcery dot com
- Cc: 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: Sun, 6 Jan 2002 08:41:10 -0500 (EST)
- Subject: Re: [PATCH] C undefined behavior fix
>>Isn't the incriminated construct already outside of C and non-portable?
The issue is not whether it is outside standard-C here, which of course
it is, but rather whether there is some extension to GNU-C (either an
interpretation of undefined or implementation defined, or an attribute etc)
which wuld make it inside GNU-C even if outside C, and therefore portable
to GNU-C, which is good enough for this purpose.