tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] [ARM] struct_assign_test segfault


From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] [ARM] struct_assign_test segfault
Date: Tue, 17 May 2011 23:32:43 +0200
User-agent: KMail/1.13.5 (Linux/2.6.38-2-amd64; KDE/4.4.5; x86_64; ; )

Le mardi 17 mai 2011 02:42:34, Daniel Glöckner a écrit :
> 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

Ah great, thank you a lot Daniel. Now it compiles and the test run completely 
on both i386, amd64 and armel arch. I'm looking forward for the next upload in 
Debian :)

Thomas



reply via email to

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