This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc3 vs 176.gcc
On Thu, Jan 10, 2002 at 03:24:14PM -0800, Richard Henderson wrote:
> >
> > This is an odd way of looking at things. Consider code that accesses
> > a private data member in C++ without permission.
>
> That's the difference between undefined behaviour and a constraint
> violation. Code with undefined behaviour must compile.
Not necessarily...
#include </vmunix>
is undefined behavior, but I would be very surprised if it compiled
anywhere.
zw