This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix obscure obstack bug
- From: Ulrich Drepper <drepper at redhat dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: libc-alpha at sources dot redhat dot com, gcc-patches at gcc dot gnu dot org, DJ Delorie <dj at redhat dot com>
- Date: 14 Dec 2001 16:30:25 -0800
- Subject: Re: Fix obscure obstack bug
- References: <20010915181240.A21904@daikokuya.demon.co.uk><m38zc5sjwc.fsf@myware.mynet><20011215002054.A26663@daikokuya.demon.co.uk>
- Reply-to: drepper at redhat dot com (Ulrich Drepper)
Neil Booth <neil@daikokuya.demon.co.uk> writes:
> Huh? I was asked to allocate "size" bytes and I allocated it.
The request is made based on assumptions about the chunk size. If you
change it you make the assumptions invalid.
> Would you care to give an example of this "existing code" that you
> claim?
No. I don't know every bit of software ever written.
> I trust you will do the right thing and apply my simple patch to fix
> the obstack implementation bug that I have clearly demonstrated.
No, I won't. It's not necessary and bgreaks the ABI.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------