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:50:07 +0100 |
commit | 0faa5f72999fea82fadda8bab70abea2303216c7 (patch) | |
tree | 05a8c18d2f67d883f94d2bd6f060ab0f4ac7f156 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0051-PR-c-48280.patch | |
parent | c2007ba4cdb64fa9e308d3dae395c03ef4cc9161 (diff) | |
download | poky-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/0051-PR-c-48280.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0051-PR-c-48280.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0051-PR-c-48280.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0051-PR-c-48280.patch deleted file mode 100644 index f232a4263e..0000000000 --- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0051-PR-c-48280.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From c965b9c986732377eb96e00f7266e281f345a00b Mon Sep 17 00:00:00 2001 | ||
2 | From: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | ||
3 | Date: Thu, 31 Mar 2011 20:33:07 +0000 | ||
4 | Subject: [PATCH] PR c++/48280 | ||
5 | * method.c (defaultable_fn_check): Templates are not defaultable. | ||
6 | |||
7 | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171798 138bc75d-0d04-0410-961f-82ee72b054a4 | ||
8 | |||
9 | index d70da95..e6f3c25 100644 | ||
10 | --- a/gcc/cp/method.c | ||
11 | +++ b/gcc/cp/method.c | ||
12 | @@ -1594,6 +1594,12 @@ defaultable_fn_check (tree fn) | ||
13 | { | ||
14 | special_function_kind kind = sfk_none; | ||
15 | |||
16 | + if (template_parm_scope_p ()) | ||
17 | + { | ||
18 | + error ("a template cannot be defaulted"); | ||
19 | + return false; | ||
20 | + } | ||
21 | + | ||
22 | if (DECL_CONSTRUCTOR_P (fn)) | ||
23 | { | ||
24 | if (FUNCTION_FIRST_USER_PARMTYPE (fn) == void_list_node) | ||
25 | new file mode 100644 | ||
26 | index 0000000..307bf94 | ||
27 | --- /dev/null | ||
28 | +++ b/gcc/testsuite/g++.dg/cpp0x/defaulted24.C | ||
29 | @@ -0,0 +1,6 @@ | ||
30 | +// PR c++/48280 | ||
31 | +// { dg-options -std=c++0x } | ||
32 | + | ||
33 | +struct S { | ||
34 | + template < typename > S (const S &) = default; // { dg-error "" } | ||
35 | +}; | ||
36 | -- | ||
37 | 1.7.0.4 | ||
38 | |||