This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help with bit-field semantics in C and C++
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Roger Sayle <roger at eyesopen dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 23 Aug 2004 16:38:27 -0700
- Subject: Re: Help with bit-field semantics in C and C++
- References: <Pine.LNX.4.44.0408231641070.2070-100000@www.eyesopen.com>
On Aug 23, 2004, at 3:58 PM, Roger Sayle wrote:
Could one of GCC's resident C/C++ language lawyers confirm that the
behaviour of the following code is undefined?
It is not undefined but unspecified. I cannot remember what that
means except that we don't have to document how it works, unlike
implementor defined.
This was also PR15330:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15330
Thanks,
Andrew Pinski