C++ ptrmemfun break if FUNCTION_BOUNDARY < 2 * BITS_PER_UNIT
Jamie Lokier
egcs@tantalophile.demon.co.uk
Fri Apr 6 05:10:00 GMT 2001
dewar@gnat.com wrote:
> <<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 :-)
Or just follow the original suggesetion of using a different bit when
FUNCTION_BOUNDARY == 1.
-- Jamie
More information about the Gcc
mailing list