[Bug other/60486] [avr] missed optimization on detecting zero flag set

2014-03-11 Thread darryl.piper at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60486 --- Comment #4 from Darryl Piper darryl.piper at gmail dot com --- details also posted on avrfreaks.net http://www.avrfreaks.net/index.php?name=PNphpBB2file=viewtopicp=1143389 the bug has existed since the code base copy from 4.7.2 to create

[Bug other/60486] [avr] missed optimization on detecting zero flag set

2014-03-11 Thread darryl.piper at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60486 Darryl Piper darryl.piper at gmail dot com changed: What|Removed |Added Severity|normal |major

[Bug other/60486] New: [avr] missed optimization on detecting zero flag set

2014-03-10 Thread darryl.piper at gmail dot com
Component: other Assignee: unassigned at gcc dot gnu.org Reporter: darryl.piper at gmail dot com detection of a variable being decremented to reach zero missed optimization. int main(uint16_t, uint16_t ); int main(uint16_t x, uint16_t y) { uint16_t z = x; while (x y