tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] RE :Re: Another ARM (RPi) compiler bug


From: Thomas Preud'homme
Subject: Re: [Tinycc-devel] RE :Re: Another ARM (RPi) compiler bug
Date: Tue, 5 Feb 2013 10:52:21 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Le mardi 5 février 2013 01:05:35, Daniel Glöckner a écrit :
> Hi,
> 
> On Mon, Feb 04, 2013 at 01:47:46PM +0100, Christian JULLIEN wrote:
> 
> your mail client produced a multipart/alternative with an empty
> text/plain part.
> 
> The error is in gfunc_prolog when it does
>       pn = (pn + (align-1)/4) & -(align/4);
> while align is < 4.
> 
> Thomas, is the correct fix to clamp align to 4 if it is less than
> that?

Yes indeed. Load and store must be aligned so the arguments must be copied to 
aligned places. I made a fix which I tried on that exact example but I don't 
have time to do further testing now.

Christian, can you launch your tests one more time?

Thanks again Daniel for spotting where is the bug and Christian for all the 
hard testing.

> 
>   Daniel

Best regards,

Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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