summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0031-call.c-reference_binding-Allow-direct-binding-to-an-.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-06-17 17:11:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 11:50:07 +0100
commit0faa5f72999fea82fadda8bab70abea2303216c7 (patch)
tree05a8c18d2f67d883f94d2bd6f060ab0f4ac7f156 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0031-call.c-reference_binding-Allow-direct-binding-to-an-.patch
parentc2007ba4cdb64fa9e308d3dae395c03ef4cc9161 (diff)
downloadpoky-0faa5f72999fea82fadda8bab70abea2303216c7.tar.gz
gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6 Remove the backport patches (From OE-Core rev: 68b545f4ff719f2b6e57d68b002dc9845c7a14ae) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0031-call.c-reference_binding-Allow-direct-binding-to-an-.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0031-call.c-reference_binding-Allow-direct-binding-to-an-.patch35
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0031-call.c-reference_binding-Allow-direct-binding-to-an-.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0031-call.c-reference_binding-Allow-direct-binding-to-an-.patch
deleted file mode 100644
index 8c9305b434..0000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0031-call.c-reference_binding-Allow-direct-binding-to-an-.patch
+++ /dev/null
@@ -1,35 +0,0 @@
1From af19d0c50df96adb55baaf54026ad82a9d256868 Mon Sep 17 00:00:00 2001
2From: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Tue, 29 Mar 2011 14:26:00 +0000
4Subject: [PATCH] * call.c (reference_binding): Allow direct binding to an array
5 rvalue.
6
7git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171672 138bc75d-0d04-0410-961f-82ee72b054a4
8
9index ac625a0..2ff3745 100644
10--- a/gcc/cp/call.c
11+++ b/gcc/cp/call.c
12@@ -1429,7 +1429,9 @@ reference_binding (tree rto, tree rfrom, tree expr, bool c_cast_p, int flags)
13 || (((CP_TYPE_CONST_NON_VOLATILE_P (to)
14 && !(flags & LOOKUP_NO_TEMP_BIND))
15 || TYPE_REF_IS_RVALUE (rto))
16- && (CLASS_TYPE_P (from) || (expr && lvalue_p (expr))))))
17+ && (CLASS_TYPE_P (from)
18+ || TREE_CODE (from) == ARRAY_TYPE
19+ || (expr && lvalue_p (expr))))))
20 {
21 /* [dcl.init.ref]
22
23new file mode 100644
24index 0000000..25113d7
25--- /dev/null
26+++ b/gcc/testsuite/g++.dg/cpp0x/initlist-arrray1.C
27@@ -0,0 +1,5 @@
28+// { dg-options -std=c++0x }
29+
30+typedef int IRT[2];
31+
32+const IRT& ir = IRT{1,2};
33--
341.7.0.4
35