ports/devel/avr-gcc/files/patch-504-gcc-4.5.1-bug12915
Joerg Wunsch 0c19ecdca8 Upgrade to GCC 4.5.1.
Completely reorganize the patches for this port.

Patches for new devices are now synchronized with the Atmel AVR tools.
The main difference is the naming scheme, as FreeBSD patches start
with "patch-", while the Atmel AVR Tools patches end up in ".patch".
2011-12-17 09:56:31 +00:00

14 lines
634 B
Text

diff -rupw gcc/config/avr/avr.md gcc/config/avr/avr.md
--- gcc/config/avr/avr.md 2011-02-23 15:54:14.000000000 -0600
+++ gcc/config/avr/avr.md 2011-02-23 15:55:22.000000000 -0600
@@ -1082,8 +1082,8 @@
(set_attr "cc" "clobber")])
(define_expand "<any_extend:u>mulhisi3"
- [(set (reg:HI 18) (match_operand:SI 1 "register_operand" ""))
- (set (reg:HI 20) (match_operand:SI 2 "register_operand" ""))
+ [(set (reg:HI 18) (match_operand:HI 1 "register_operand" ""))
+ (set (reg:HI 20) (match_operand:HI 2 "register_operand" ""))
(set (reg:SI 22)
(mult:SI (any_extend:SI (reg:HI 18))
(any_extend:SI (reg:HI 20))))