This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11181] [avr-gcc] Optimization of "uchar/xor/and/single_bit" produced wrong code.


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?)?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]