diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-06-17 17:11:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-23 11:49:04 +0100 |
commit | 68b545f4ff719f2b6e57d68b002dc9845c7a14ae (patch) | |
tree | f21182fa4d1394686b9afafbaac6d90bc3aa69a8 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0373-2011-05-31-Richard-Guenther-rguenther-suse.de.patch | |
parent | b32666e29999c7c698b1a1378f96844fbc48358d (diff) | |
download | openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.gz openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.bz2 openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.xz openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.zip |
gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6
Remove the backport patches
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0373-2011-05-31-Richard-Guenther-rguenther-suse.de.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0373-2011-05-31-Richard-Guenther-rguenther-suse.de.patch | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0373-2011-05-31-Richard-Guenther-rguenther-suse.de.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0373-2011-05-31-Richard-Guenther-rguenther-suse.de.patch deleted file mode 100644 index fc512f736..000000000 --- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0373-2011-05-31-Richard-Guenther-rguenther-suse.de.patch +++ /dev/null @@ -1,72 +0,0 @@ -From d255e20552a56f1aa9b75a0ca45de257e935cd58 Mon Sep 17 00:00:00 2001 -From: rguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Tue, 31 May 2011 12:23:55 +0000 -Subject: [PATCH] 2011-05-31 Richard Guenther <rguenther@suse.de> - - Backport from mainline - 2011-05-11 Richard Guenther <rguenther@suse.de> - - PR middle-end/48953 - * tree-inline.c (remap_gimple_op_r): Also remap types of MEM_REFs. - - * gcc.dg/torture/pr48953.c: New testcase. - - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174475 138bc75d-0d04-0410-961f-82ee72b054a4 - -index b4b333f..d5ea116 100644 -new file mode 100644 -index 0000000..41a3d7b ---- /dev/null -+++ b/gcc/testsuite/gcc.dg/torture/pr48953.c -@@ -0,0 +1,17 @@ -+/* { dg-do run } */ -+/* { dg-options "-fno-tree-dce" } */ -+ -+static inline int foo (int n, int k) -+{ -+ struct S -+ { -+ int i[n]; -+ int value; -+ } s[2]; -+ return s[k].value = 0; -+} -+ -+int main () -+{ -+ return foo (2, 0); -+} -diff --git a/gcc/tree-inline.c b/gcc/tree-inline.c -index f2255f8..ef3f1a3 100644 ---- a/gcc/tree-inline.c -+++ b/gcc/tree-inline.c -@@ -816,6 +816,7 @@ remap_gimple_op_r (tree *tp, int *walk_subtrees, void *data) - if (TREE_CODE (*tp) == MEM_REF) - { - tree ptr = TREE_OPERAND (*tp, 0); -+ tree type = remap_type (TREE_TYPE (*tp), id); - tree old = *tp; - tree tem; - -@@ -826,7 +827,7 @@ remap_gimple_op_r (tree *tp, int *walk_subtrees, void *data) - if ((tem = maybe_fold_offset_to_reference (EXPR_LOCATION (*tp), - ptr, - TREE_OPERAND (*tp, 1), -- TREE_TYPE (*tp))) -+ type)) - && TREE_THIS_VOLATILE (tem) == TREE_THIS_VOLATILE (old)) - { - tree *tem_basep = &tem; -@@ -848,7 +849,7 @@ remap_gimple_op_r (tree *tp, int *walk_subtrees, void *data) - } - else - { -- *tp = fold_build2 (MEM_REF, TREE_TYPE (*tp), -+ *tp = fold_build2 (MEM_REF, type, - ptr, TREE_OPERAND (*tp, 1)); - TREE_THIS_VOLATILE (*tp) = TREE_THIS_VOLATILE (old); - TREE_THIS_NOTRAP (*tp) = TREE_THIS_NOTRAP (old); --- -1.7.0.4 - |