Репозитории ALT
S: | 10.2.0-alt1_1 |
5.1: | 4.2.2-alt2 |
4.1: | 4.2.2-alt1 |
4.0: | 3.4.4-alt1 |
3.0: | 3.3.1-alt1 |
Группа :: Разработка/Прочее
Пакет: avr-gcc
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: gcc-3.3.1-combine-fix.diff
Скачать
Скачать
2003-06-30 Denis Chertykov <denisc@overta.ru>
Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* combine.c (gen_binary): Handle the CLOBBER rtx and
don't build a binary operation with it.
diff -urN gcc-3.3.1.orig/gcc/combine.c gcc-3.3.1/gcc/combine.c
--- gcc-3.3.1.orig/gcc/combine.c 2003-03-24 03:37:32.000000000 -0800
+++ gcc-3.3.1/gcc/combine.c 2003-08-08 15:26:26.000000000 -0700
@@ -10209,6 +10209,11 @@
rtx result;
rtx tem;
+ if (GET_CODE (op0) == CLOBBER)
+ return op0;
+ else if (GET_CODE (op1) == CLOBBER)
+ return op1;
+
if (GET_RTX_CLASS (code) == 'c'
&& swap_commutative_operands_p (op0, op1))
tem = op0, op0 = op1, op1 = tem;