summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0359-PR-c-48284.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:49:04 +0100
commit68b545f4ff719f2b6e57d68b002dc9845c7a14ae (patch)
treef21182fa4d1394686b9afafbaac6d90bc3aa69a8 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0359-PR-c-48284.patch
parentb32666e29999c7c698b1a1378f96844fbc48358d (diff)
downloadopenembedded-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/0359-PR-c-48284.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0359-PR-c-48284.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0359-PR-c-48284.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0359-PR-c-48284.patch
deleted file mode 100644
index 2fd1843d5..000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0359-PR-c-48284.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From a726d4116cb23c1f9873f3309c1c078d2113726d Mon Sep 17 00:00:00 2001
-From: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Fri, 27 May 2011 20:48:17 +0000
-Subject: [PATCH] PR c++/48284
- * error.c (dump_expr) [COMPONENT_REF]: Use pp_cxx_dot
- with INDIRECT_REF of REFERENCE_TYPE.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@174362 138bc75d-0d04-0410-961f-82ee72b054a4
-
-index dffc764..931e24d 100644
---- a/gcc/cp/error.c
-+++ b/gcc/cp/error.c
-@@ -1879,7 +1879,10 @@ dump_expr (tree t, int flags)
- && strcmp (IDENTIFIER_POINTER (DECL_NAME (ob)), "this")))
- {
- dump_expr (ob, flags | TFF_EXPR_IN_PARENS);
-- pp_cxx_arrow (cxx_pp);
-+ if (TREE_CODE (TREE_TYPE (ob)) == REFERENCE_TYPE)
-+ pp_cxx_dot (cxx_pp);
-+ else
-+ pp_cxx_arrow (cxx_pp);
- }
- }
- else
-new file mode 100644
-index 0000000..3515652
---- /dev/null
-+++ b/gcc/testsuite/g++.dg/cpp0x/error6.C
-@@ -0,0 +1,8 @@
-+// PR c++/48284
-+// { dg-options -std=c++0x }
-+
-+template<typename C>
-+auto g(C& c) -> decltype (c.f()) { return c.f(); } // { dg-error "decltype .c\\.f" }
-+
-+template<typename C>
-+auto g(C& c) -> decltype (c.f()) { return c.f(); } // { dg-error "decltype .c\\.f" }
---
-1.7.0.4
-