[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

eweddington at cso dot atmel dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 18 19:06:00 GMT 2007



------- Comment #24 from eweddington at cso dot atmel dot com  2007-09-18 19:06 -------
Subject: RE:  [avr-gcc] Optimization decrease performance of
 struct assignment.



> ------- Comment #23 from rask at gcc dot gnu dot org
>
> In define_insn_and_split "*movhi", add the line
>
>    && LABEL_REF != GET_CODE (operands[1])
>
> where it already says
>
>    && SYMBOL_REF != GET_CODE (operands[1])
>
> and the error should go away.

I *added* the line (not replace) as you suggested, and now it generates a
new error during build:

c:/avrdev/gcc/gcc-4.3-20070914/libobjc/Object.m:66: error: unrecognizable
insn:
(insn 54 4 55 2 c:/avrdev/gcc/gcc-4.3-20070914/libobjc/Object.m:65 (set
(reg:QI 22 r22 [ D.2345 ])
        (subreg:QI (const:HI (plus:HI (symbol_ref:HI
("_OBJC_SELECTOR_TABLE") [flags 0x2] <var_decl 013C4A20
_OBJC_SELECTOR_TABLE>)
                    (const_int 8 [0x8]))) 0)) -1 (nil))


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11180



More information about the Gcc-bugs mailing list