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/0088-PR-c-48452.patch | |
parent | b32666e29999c7c698b1a1378f96844fbc48358d (diff) | |
download | openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.gz |
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/0088-PR-c-48452.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0088-PR-c-48452.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0088-PR-c-48452.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0088-PR-c-48452.patch deleted file mode 100644 index 3ce8b55c6a..0000000000 --- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0088-PR-c-48452.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 92860ca75ea3cbb7223913d121c60cc56c966794 Mon Sep 17 00:00:00 2001 -From: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Fri, 8 Apr 2011 15:02:08 +0000 -Subject: [PATCH] PR c++/48452 - * typeck.c (build_x_compound_expr_from_list): Return error_mark_node - in SFINAE context. - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172193 138bc75d-0d04-0410-961f-82ee72b054a4 - -index 03aa49e..ec9233d 100644 ---- a/gcc/cp/typeck.c -+++ b/gcc/cp/typeck.c -@@ -5469,6 +5469,8 @@ build_x_compound_expr_from_list (tree list, expr_list_kind exp, - default: - gcc_unreachable (); - } -+ else -+ return error_mark_node; - - for (list = TREE_CHAIN (list); list; list = TREE_CHAIN (list)) - expr = build_x_compound_expr (expr, TREE_VALUE (list), -new file mode 100644 -index 0000000..ede8b70 ---- /dev/null -+++ b/gcc/testsuite/g++.dg/cpp0x/sfinae10.C -@@ -0,0 +1,18 @@ -+// PR c++/48452 -+// { dg-options -std=c++0x } -+namespace std { -+ template <class T> T&& declval(); -+} -+ -+template<class T, class... Args> -+decltype(T(std::declval<Args>()...), char()) f(int); -+ -+template<class, class...> -+char (&f(...))[2]; -+ -+struct A { virtual ~A() = 0; }; -+struct B {}; -+ -+static_assert(sizeof(f<A, int, int>(0)) != 1, "Error"); // a -+static_assert(sizeof(f<B, void, int>(0)) != 1, "Error"); // b -+static_assert(sizeof(f<void, int, int>(0)) != 1, "Error"); // c --- -1.7.0.4 - |