This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Compiler bug in gcc?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]