[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Changeset c8a874736ed; storing random registers

From: Joshua Phillips
Subject: [Tinycc-devel] Changeset c8a874736ed; storing random registers
Date: Thu, 29 Nov 2007 19:50:25 +0000
User-agent: KMail/1.9.7

Changeset c8a874736ed2 initializes "vstack = vtop" instead of "vstack = vtop - 
vtop should always point to the top of the vstack, so when the stack is empty, 
vtop == vstack - 1. With Landley's fix, vstack[0] is left uninitialized, and 
when save_reg is called, it stores a register (usually eax, if vstack is 
zeroed) onto the stack for no reason at all.

For now I've backed out the relevant changeset; the long long problem (in 
changeset c8a...) should be fixed another way.

Attachment: landley-unfix.bundle
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]