Gentoo Archives: gentoo-commits

From: "Ryan Hill (dirtyepic)" <dirtyepic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/gcc/4.4.4/gentoo: 62_all_ia64-pr41551.patch README.history
Date: Mon, 06 Sep 2010 03:45:53
Message-Id: 20100906034545.4C2B12004C@flycatcher.gentoo.org
1 dirtyepic 10/09/06 03:45:45
2
3 Modified: README.history
4 Added: 62_all_ia64-pr41551.patch
5 Log:
6 Add upstream patch for bug #331825.
7
8 Revision Changes Path
9 1.8 src/patchsets/gcc/4.4.4/gentoo/README.history
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.4.4/gentoo/README.history?rev=1.8&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.4.4/gentoo/README.history?rev=1.8&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.4.4/gentoo/README.history?r1=1.7&r2=1.8
14
15 Index: README.history
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.4.4/gentoo/README.history,v
18 retrieving revision 1.7
19 retrieving revision 1.8
20 diff -u -r1.7 -r1.8
21 --- README.history 4 Sep 2010 02:23:04 -0000 1.7
22 +++ README.history 6 Sep 2010 03:45:45 -0000 1.8
23 @@ -1,3 +1,4 @@
24 + + 62_all_ia64-pr41551.patch
25 + 96_all_arm-pr43440.patch
26
27 1.1 01.08.2010
28
29
30
31 1.1 src/patchsets/gcc/4.4.4/gentoo/62_all_ia64-pr41551.patch
32
33 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.4.4/gentoo/62_all_ia64-pr41551.patch?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.4.4/gentoo/62_all_ia64-pr41551.patch?rev=1.1&content-type=text/plain
35
36 Index: 62_all_ia64-pr41551.patch
37 ===================================================================
38 [4.4 Regression] ia64: ICE: in instantiate_virtual_regs_in_insn, at function.c:1630
39 http://gcc.gnu.org/PR41551
40 https://bugs.gentoo.org/331825
41
42 --- branches/gcc-4_4-branch/gcc/function.c
43 +++ branches/gcc-4_4-branch/gcc/function.c
44 @@ -1601,7 +1601,13 @@
45 if (!safe_insn_predicate (insn_code, i, x))
46 {
47 start_sequence ();
48 - x = force_reg (insn_data[insn_code].operand[i].mode, x);
49 + if (REG_P (x))
50 + {
51 + gcc_assert (REGNO (x) <= LAST_VIRTUAL_REGISTER);
52 + x = copy_to_reg (x);
53 + }
54 + else
55 + x = force_reg (insn_data[insn_code].operand[i].mode, x);
56 seq = get_insns ();
57 end_sequence ();
58 if (seq)