[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 changed: What|Removed |Added Severity|normal |major

[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 --- details also posted on avrfreaks.net http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=1143389 the bug has existed since the code base copy from 4.7.2 to create the vanilla 4.8.0 so all the

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

2014-03-10 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60486 --- Comment #3 from Georg-Johann Lay --- Here is a smaller test case with similar artifact (insn #7): extern void foo (unsigned); char v; void pr_60486 (unsigned z) { if (--z == 0) v = 0; foo (z); } pr_60486: sbiw r24,1 ; 6

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

2014-03-10 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60486 Georg-Johann Lay changed: What|Removed |Added Target||avr Status|UNCONFIRMED

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

2014-03-10 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60486 Georg-Johann Lay changed: What|Removed |Added CC||gjl at gcc dot gnu.org --- Comment #1