/usr/src/gcc-4.4/debian/patches/sh4-mode-switching.diff is in gcc-4.4-source 4.4.7-1ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # DP: Fix PR target/41993, [sh] ICE in create_pre_exit, at mode-switching.c
--- a/arc/gcc/mode-switching.c 2009-11-24 09:50:59.000000000 +0900
+++ b/src/gcc/mode-switching.c 2009-11-24 09:51:02.000000000 +0900
@@ -325,7 +325,14 @@
else
break;
if (copy_start >= FIRST_PSEUDO_REGISTER)
- break;
+ {
+ if (!optimize)
+ {
+ last_insn = return_copy;
+ continue;
+ }
+ break;
+ }
copy_num
= hard_regno_nregs[copy_start][GET_MODE (copy_reg)];
|