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++
On Tue, Aug 24, 2004 at 02:58:33PM -0700, Mark Mitchell wrote:
> The people who write testsuites for a living think a lot about corner
> cases and try to write tests that cause compilers to get the corner
> cases wrong. They go through the standard line-by-line, thinking of
> pathological things. None of them have ever written the test that David
> is suggesting.
But the suggested test is clearly a non-conforming program, one whose
behavior is unspecified. This means that no test suite is likely to
contain such a program.
It seems that we are only arguing about what the limits of "unspecified"
are.