On 2011-03-02 2:38 PM, Felix Fietkau wrote:
> Hi Mark,
> 
> good catch! I'm currently comparing assembly trying to figure out what
> triggers the miscompilation. I'm reluctant to commit this patch, as it
> its quite possible that this compiler issue may be causing more bugs
> that we just haven't found yet.

> From a quick look it seems that the generated code improperly reuses a
> register without clearing relevant bits, but I'm not entirely sure of
> that yet.
Scratch that, got confused by the delay slot for a second there :)
I see the code that adds the wrong bits now, I wonder if there's
something wrong with signed vs unsigned type propagation...
I'll let you know when I find out more about this.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to