|
From: | Chris Pavlina |
Subject: | [avr-libc-dev] [bug #48765] math.h: isfinite might generate wrong code due to early-clobber |
Date: | Fri, 12 Aug 2016 19:51:57 +0000 (UTC) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.85 Safari/537.36 |
Update of bug #48765 (project avr-libc): Status: None => Need Info _______________________________________________________ Follow-up Comment #1: I'm not so sure. %C1 and %D1 are defined as bytes of __x, and %0 is __exp - surely the compiler should keep those separate as they are separate variables existing in the same scope? I'm going to mark this Need Info unless someone else can correct me on this. I can't see the potential issue here. The only way I was able to force a collision was to rewrite my own version of isfinite() with 'register unsigned char __exp asm("r27")' to force it to use a colliding register. Otherwise, surely it should be required to keep them separate while they are still valid in the scope? _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?48765> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |