This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ ptrmemfun break if FUNCTION_BOUNDARY < 2 * BITS_PER_UNIT
- To: aoliva at redhat dot com, dewar at gnat dot com
- Subject: Re: C++ ptrmemfun break if FUNCTION_BOUNDARY < 2 * BITS_PER_UNIT
- From: dewar at gnat dot com
- Date: Fri, 6 Apr 2001 08:04:52 -0400 (EDT)
- Cc: egcs at tantalophile dot demon dot co dot uk, gcc at gcc dot gnu dot org
<<I think that's not the main problem. The problem is that we have an
implicit assumption hidden deep inside the C++ front-end, and there's
no validation anywhere preventing a definition of FUNCTION_BOUNDARY
from breaking violating this assumption.
>>
Well that's a very fair comment, most certainly this assumption needs to
be documented at the top level, and an explicit check of FUNCTION_BOUNDARY
as well as large documentation surrounding it is most appropriate :-)