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 target/41665] Typo in addsi_1_zext?



------- Comment #4 from ubizjak at gmail dot com  2009-10-11 12:13 -------
(In reply to comment #3)

>     case TYPE_LEA:
>       operands[2] = SET_SRC (XVECEXP (PATTERN (insn), 0, 0));
>       return "lea{l}\t{%a2, %k0|%k0, %a2}";
> 
> Won't we get "(zero_extend:DI ...)" for operands[2]? Don't we
> want "(plus:SI ...)" instead?

You are right here. We need to strip ZERO_EXTEND, otherwise
print_operand_address will choke on it.  Care to post a patch?


-- 

ubizjak at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-10-11 12:13:16
               date|                            |


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


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