This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Compiler bug in gcc?
- From: Jim Wilson <wilson at tuliptree dot org>
- To: Ronald Landheer-Cieslak <blytkerchan at users dot sourceforge dot net>
- Cc: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 02 Sep 2003 19:25:20 -0700
- Subject: Re: Compiler bug in gcc?
- References: <20030901120318.GE22657@linux_rln.harvest>
Ronald Landheer-Cieslak wrote:
The error is that %ebx is not saved before thet call to *%eax, and is
not guaranteed to be preserved which, in fact, it is not.
The x86 ABI says that ebx is preserved across calls, so the problem is
not in do_global_ctors_aux.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com