[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [ARM] struct_assign_test segfault
From: |
Daniel Glöckner |
Subject: |
Re: [Tinycc-devel] [ARM] struct_assign_test segfault |
Date: |
Tue, 17 May 2011 02:42:34 +0200 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
Hi,
On Mon, May 16, 2011 at 11:33:48PM +0200, Thomas Preud'homme wrote:
> do you have an idea why struct_assign_test segfault on arm?
I didn't try to -run the tests, but -c produced a "vstack leak?" error
in that function. I pushed a fix to mob but there is another bug that
I found while researching this bug: The program may generate an
unaligned exception when a function returns a structure of up to four
bytes aligned to less than four bytes. This is caused by me having used
a "str" instruction to write the structure in r0 to the temporary memory
reserved by unary().
Daniel