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: dewar at gnat dot com
- Subject: Re: C++ ptrmemfun break if FUNCTION_BOUNDARY < 2 * BITS_PER_UNIT
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 06 Apr 2001 09:00:24 -0300
- Cc: egcs at tantalophile dot demon dot co dot uk, gcc at gcc dot gnu dot org
- Organization: GCC Team, Red Hat
- References: <20010406114914.89DC6F28EB@nile.gnat.com>
On Apr 6, 2001, dewar@gnat.com wrote:
> Well I would say that ancient architectures like Z80 can afford to pay
> 0.5 bytes/extra per function if they have to :-)
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.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me