From 1f7e1a50834442f72d88349773579abd85bc6025 Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 28 Feb 1999 18:53:00 +0000 Subject: [PATCH] Integrated into 1.1.2 --- lang/egcs-stable/patches/patch-core-m68k | 70 ------------------------ lang/egcs/stable/patches/patch-core-m68k | 70 ------------------------ 2 files changed, 140 deletions(-) delete mode 100644 lang/egcs-stable/patches/patch-core-m68k delete mode 100644 lang/egcs/stable/patches/patch-core-m68k diff --git a/lang/egcs-stable/patches/patch-core-m68k b/lang/egcs-stable/patches/patch-core-m68k deleted file mode 100644 index 42dcd2e1387..00000000000 --- a/lang/egcs-stable/patches/patch-core-m68k +++ /dev/null @@ -1,70 +0,0 @@ -Subject: Re: ICE on m68k-unknown-openbsd24, egcs-1.1.1 -From: Jeffrey A Law - In message <19981213231720.65462@liafa1.liafa.jussieu.fr>you write: - > Rather non-sensical code-sample, I've trimmed everything that I could... - > - > This triggers an ICE on m68k-unknown-openbsd24 with any optimization - > (-O or -O2): - > reload.c: 3524: Internal compiler error in function find_reloads - > Even if it's fixed in recent snapshots, a patch would be appreciated... - > - > void f() - > { - > unsigned long *wnump; - > unsigned long d0; - > unsigned long long rem; - > for (;;) - > { - > rem=(unsigned long long )d0*d0; - > if ((rem <= ((unsigned long long )(rem<< 32 )+wnump[-2]))) - > break; - > } - > } - > -- -This patch should fix your problem. - - * m68k.md (adddi_dilshr32): Allow all operands to be registers too. - (adddi_dishl32): Similarly. - -Index: m68k.md -=================================================================== -RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/m68k/m68k.md,v -retrieving revision 1.23 -diff -c -3 -p -r1.23 m68k.md -*** m68k.md 1998/12/16 21:06:58 1.23 ---- m68k.md 1998/12/31 08:12:59 -*************** -*** 2104,2110 **** - ;; (plus:DI (match_operand:DI 2 "general_operand" "%0") - ;; (lshiftrt:DI (match_operand:DI 1 "general_operand" "ro") - ;; (const_int 32))))] -! (plus:DI (lshiftrt:DI (match_operand:DI 1 "general_operand" "o,r") - (const_int 32)) - (match_operand:DI 2 "general_operand" "0,0")))] - "" ---- 2104,2110 ---- - ;; (plus:DI (match_operand:DI 2 "general_operand" "%0") - ;; (lshiftrt:DI (match_operand:DI 1 "general_operand" "ro") - ;; (const_int 32))))] -! (plus:DI (lshiftrt:DI (match_operand:DI 1 "general_operand" "ro,r") - (const_int 32)) - (match_operand:DI 2 "general_operand" "0,0")))] - "" -*************** -*** 2123,2129 **** - ;; (plus:DI (match_operand:DI 2 "general_operand" "%0") - ;; (ashift:DI (match_operand:DI 1 "general_operand" "ro") - ;; (const_int 32))))] -! (plus:DI (ashift:DI (match_operand:DI 1 "general_operand" "o,r") - (const_int 32)) - (match_operand:DI 2 "general_operand" "0,0")))] - "" ---- 2123,2129 ---- - ;; (plus:DI (match_operand:DI 2 "general_operand" "%0") - ;; (ashift:DI (match_operand:DI 1 "general_operand" "ro") - ;; (const_int 32))))] -! (plus:DI (ashift:DI (match_operand:DI 1 "general_operand" "ro,r") - (const_int 32)) - (match_operand:DI 2 "general_operand" "0,0")))] - "" - diff --git a/lang/egcs/stable/patches/patch-core-m68k b/lang/egcs/stable/patches/patch-core-m68k deleted file mode 100644 index 42dcd2e1387..00000000000 --- a/lang/egcs/stable/patches/patch-core-m68k +++ /dev/null @@ -1,70 +0,0 @@ -Subject: Re: ICE on m68k-unknown-openbsd24, egcs-1.1.1 -From: Jeffrey A Law - In message <19981213231720.65462@liafa1.liafa.jussieu.fr>you write: - > Rather non-sensical code-sample, I've trimmed everything that I could... - > - > This triggers an ICE on m68k-unknown-openbsd24 with any optimization - > (-O or -O2): - > reload.c: 3524: Internal compiler error in function find_reloads - > Even if it's fixed in recent snapshots, a patch would be appreciated... - > - > void f() - > { - > unsigned long *wnump; - > unsigned long d0; - > unsigned long long rem; - > for (;;) - > { - > rem=(unsigned long long )d0*d0; - > if ((rem <= ((unsigned long long )(rem<< 32 )+wnump[-2]))) - > break; - > } - > } - > -- -This patch should fix your problem. - - * m68k.md (adddi_dilshr32): Allow all operands to be registers too. - (adddi_dishl32): Similarly. - -Index: m68k.md -=================================================================== -RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/m68k/m68k.md,v -retrieving revision 1.23 -diff -c -3 -p -r1.23 m68k.md -*** m68k.md 1998/12/16 21:06:58 1.23 ---- m68k.md 1998/12/31 08:12:59 -*************** -*** 2104,2110 **** - ;; (plus:DI (match_operand:DI 2 "general_operand" "%0") - ;; (lshiftrt:DI (match_operand:DI 1 "general_operand" "ro") - ;; (const_int 32))))] -! (plus:DI (lshiftrt:DI (match_operand:DI 1 "general_operand" "o,r") - (const_int 32)) - (match_operand:DI 2 "general_operand" "0,0")))] - "" ---- 2104,2110 ---- - ;; (plus:DI (match_operand:DI 2 "general_operand" "%0") - ;; (lshiftrt:DI (match_operand:DI 1 "general_operand" "ro") - ;; (const_int 32))))] -! (plus:DI (lshiftrt:DI (match_operand:DI 1 "general_operand" "ro,r") - (const_int 32)) - (match_operand:DI 2 "general_operand" "0,0")))] - "" -*************** -*** 2123,2129 **** - ;; (plus:DI (match_operand:DI 2 "general_operand" "%0") - ;; (ashift:DI (match_operand:DI 1 "general_operand" "ro") - ;; (const_int 32))))] -! (plus:DI (ashift:DI (match_operand:DI 1 "general_operand" "o,r") - (const_int 32)) - (match_operand:DI 2 "general_operand" "0,0")))] - "" ---- 2123,2129 ---- - ;; (plus:DI (match_operand:DI 2 "general_operand" "%0") - ;; (ashift:DI (match_operand:DI 1 "general_operand" "ro") - ;; (const_int 32))))] -! (plus:DI (ashift:DI (match_operand:DI 1 "general_operand" "ro,r") - (const_int 32)) - (match_operand:DI 2 "general_operand" "0,0")))] - "" -