Skip to contentSkip to conversation

gcc-4.5: Get few more fixes from linaro and upstream gcc-4_5-branch

PATCH In review Khem Raj 2 participants 2 messages Jan 11, 2011 – Jan 12, 2011

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gcc-4.5: Get few more fixes from linaro and upstream gcc-4_5-branch

---
 recipes/gcc/gcc-4.5.inc                            |   16 +-
 .../gcc/gcc-4.5/gcc-arm-qihi-split-PR46883.patch   |   52 -
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch |   36 -
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99448.patch |  147 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch |   34 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99450.patch |  104 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99451.patch |   45 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99452.patch |  201 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99453.patch |   72 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99454.patch |   46 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99455.patch |   65 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99456.patch | 3163 +++++++++++++++
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99457.patch | 4236 ++++++++++++++++++++
 13 files changed, 8125 insertions(+), 92 deletions(-)
 delete mode 100644 recipes/gcc/gcc-4.5/gcc-arm-qihi-split-PR46883.patch
 delete mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99448.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99450.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99451.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99452.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99453.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99454.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99455.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99456.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99457.patch
recipes/gcc/gcc-4.5.inc +12 -4
index 377496d..3b8dd4b 100644
@@ -8,9 +8,9 @@ DEPENDS = "mpfr gmp libmpc libelf"
 NATIVEDEPS = "mpfr-native gmp-native libmpc-native"
 
 
-INC_PR = "r28"
+INC_PR = "r29"
 
-SRCREV = "167948"
+SRCREV = "168622"
 PV = "4.5"
 # BINV should be incremented after updating to a revision
 # after a minor gcc release (e.g. 4.5.1 or 4.5.2) has been made
@@ -130,7 +130,6 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH} \
 	   file://linaro/gcc-4.5-linaro-r99411.patch \
 	   file://linaro/gcc-4.5-linaro-r99412.patch \
 	   file://linaro/gcc-4.5-linaro-r99413.patch \
-	   file://linaro/gcc-4.5-linaro-r99414.patch \
 	   file://linaro/gcc-4.5-linaro-r99415.patch \
 	   file://linaro/gcc-4.5-linaro-r99416.patch \
 	   file://linaro/gcc-4.5-linaro-r99417.patch \
@@ -155,8 +154,17 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH} \
 	   file://linaro/gcc-4.5-linaro-r99442.patch \
 	   file://linaro/gcc-4.5-linaro-r99443.patch \
 	   file://linaro/gcc-4.5-linaro-r99444.patch \
+	   file://linaro/gcc-4.5-linaro-r99448.patch \
+	   file://linaro/gcc-4.5-linaro-r99449.patch \
+	   file://linaro/gcc-4.5-linaro-r99450.patch \
+	   file://linaro/gcc-4.5-linaro-r99451.patch \
+	   file://linaro/gcc-4.5-linaro-r99452.patch \
+	   file://linaro/gcc-4.5-linaro-r99453.patch \
+	   file://linaro/gcc-4.5-linaro-r99454.patch \
+	   file://linaro/gcc-4.5-linaro-r99455.patch \
+	   file://linaro/gcc-4.5-linaro-r99456.patch \
+#	   file://linaro/gcc-4.5-linaro-r99457.patch \
 	   file://gcc-scalar-widening-pr45847.patch \
-	   file://gcc-arm-qihi-split-PR46883.patch \
 	   file://gcc-arm-volatile-bitfield-fix.patch \
 	  "
 
recipes/gcc/gcc-4.5/gcc-arm-qihi-split-PR46883.patch deleted +0 -52

52 lines not on this page · raw message

recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch deleted +0 -36
deleted file mode 100644
index 648ea5f..0000000
@@ -1,36 +0,0 @@
-2010-10-15  Yao Qi  <[email protected]>
-
-	Backport from mainline:
-
-	2010-10-14  Yao Qi  <[email protected]>
-
-	gcc/
-        PR target/45447
-        * config/arm/arm.c (arm_build_builtin_va_list): Assign
-        va_list_name to TYPE_STUB_DECL (va_list_type).
-
-	gcc/testsuite/
-	PR target/45447
-        * gcc.target/arm/pr45447.c: New test.
-
-=== modified file 'gcc/config/arm/arm.c'
-Index: gcc-4.5/gcc/config/arm/arm.c
-===================================================================
---- gcc-4.5.orig/gcc/config/arm/arm.c
-+++ gcc-4.5/gcc/config/arm/arm.c
-@@ -1166,6 +1166,7 @@ arm_build_builtin_va_list (void)
- 			     va_list_type);
-   DECL_ARTIFICIAL (va_list_name) = 1;
-   TYPE_NAME (va_list_type) = va_list_name;
-+  TYPE_STUB_DECL (va_list_type) = va_list_name;
-   /* Create the __ap field.  */
-   ap_field = build_decl (BUILTINS_LOCATION,
- 			 FIELD_DECL, 
-Index: gcc-4.5/gcc/testsuite/gcc.target/arm/pr45447.c
-===================================================================
---- /dev/null
-+++ gcc-4.5/gcc/testsuite/gcc.target/arm/pr45447.c
-@@ -0,0 +1,3 @@
-+/* { dg-do compile } */
-+/* { dg-options "-g -femit-struct-debug-baseonly" } */
-+typedef __builtin_va_list x;
recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99448.patch new file +147 -0

147 lines not on this page · raw message

recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch new file +34 -0
new file mode 100644
index 0000000..e6b0fad
@@ -0,0 +1,34 @@
+2010-12-21  Ulrich Weigand  <[email protected]>
+
+	LP: #617384
+	Backport from mainline:
+
+	gcc/
+	* config/arm/arm.c (require_pic_register): Set INSN_LOCATOR for all
+	instructions injected into the prologue to prologue_locator.
+
+=== modified file 'gcc/config/arm/arm.c'
+--- old/gcc/config/arm/arm.c	2010-12-10 15:34:19 +0000
++++ new/gcc/config/arm/arm.c	2010-12-21 14:13:38 +0000
+@@ -5080,7 +5080,7 @@
+ 	}
+       else
+ 	{
+-	  rtx seq;
++	  rtx seq, insn;
+ 
+ 	  if (!cfun->machine->pic_reg)
+ 	    cfun->machine->pic_reg = gen_reg_rtx (Pmode);
+@@ -5097,6 +5097,11 @@
+ 
+ 	      seq = get_insns ();
+ 	      end_sequence ();
++
++	      for (insn = seq; insn; insn = NEXT_INSN (insn))
++		if (INSN_P (insn))
++		  INSN_LOCATOR (insn) = prologue_locator;
++
+ 	      /* We can be called during expansion of PHI nodes, where
+ 	         we can't yet emit instructions directly in the final
+ 		 insn stream.  Queue the insns on the entry edge, they will
+
recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99450.patch new file +104 -0

104 lines not on this page · raw message

recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99451.patch new file +45 -0

45 lines not on this page · raw message

recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99452.patch new file +201 -0

201 lines not on this page · raw message

recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99453.patch new file +72 -0

72 lines not on this page · raw message

recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99454.patch new file +46 -0

46 lines not on this page · raw message

recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99455.patch new file +65 -0

65 lines not on this page · raw message

recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99456.patch new file +3163 -0

2,162 lines not on this page · raw message

recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99457.patch new file +4236 -0

4,236 lines not on this page · raw message

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.0.4

Part of the diff is not shown here. View the raw message.

Acked-by on v1 1/1
#1 lore raw
Quoted 20 lines · Khem Raj
---
 recipes/gcc/gcc-4.5.inc                            |   16 +-
 .../gcc/gcc-4.5/gcc-arm-qihi-split-PR46883.patch   |   52 -
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch |   36 -
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99448.patch |  147 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch |   34 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99450.patch |  104 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99451.patch |   45 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99452.patch |  201 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99453.patch |   72 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99454.patch |   46 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99455.patch |   65 +
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99456.patch | 3163 +++++++++++++++
 .../gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99457.patch | 4236 ++++++++++++++++++++
 13 files changed, 8125 insertions(+), 92 deletions(-)
 delete mode 100644 recipes/gcc/gcc-4.5/gcc-arm-qihi-split-PR46883.patch
 delete mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99414.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99448.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99449.patch
Quoted 8 lines
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99450.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99451.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99452.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99453.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99454.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99455.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99456.patch
 create mode 100644 recipes/gcc/gcc-4.5/linaro/gcc-4.5-linaro-r99457.patch

Didn't run full rebuild from scratch, but today's upgrades built fine with this and no now issue was found.