This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug optimization/11181] [avr-gcc] Optimization of "uchar/xor/and/single_bit" produced wrong code.
- From: "pinskia at physics dot uc dot edu" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jul 2003 16:20:58 -0000
- Subject: [Bug optimization/11181] [avr-gcc] Optimization of "uchar/xor/and/single_bit" produced wrong code.
- References: <20030613031030.11181.dmixm@marine.febras.ru>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11181
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-28 16:20 -------
It looks like the mainline (20030728) is still broken with -Os (but I do not read avr asm.):
.L2:
rcall f
ldi r25,lo8(1)
eor r25,r24
sbrs r25,0
rjmp .L2
Could you say if that works (is rjmp unconditional jump?)?