summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0130-2011-04-15-Daniel-Krugler-daniel.kruegler-googlemail.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/0130-2011-04-15-Daniel-Krugler-daniel.kruegler-googlemail.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/0130-2011-04-15-Daniel-Krugler-daniel.kruegler-googlemail.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0130-2011-04-15-Daniel-Krugler-daniel.kruegler-googlemail.patch80
1 files changed, 0 insertions, 80 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0130-2011-04-15-Daniel-Krugler-daniel.kruegler-googlemail.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0130-2011-04-15-Daniel-Krugler-daniel.kruegler-googlemail.patch
deleted file mode 100644
index 53cc49a898..0000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0130-2011-04-15-Daniel-Krugler-daniel.kruegler-googlemail.patch
+++ /dev/null
@@ -1,80 +0,0 @@
1From fffee2aba06d51178d5c653db0acd6c775a0326b Mon Sep 17 00:00:00 2001
2From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Sat, 16 Apr 2011 02:04:56 +0000
4Subject: [PATCH] 2011-04-15 Daniel Krugler <daniel.kruegler@googlemail.com>
5 Paolo Carlini <paolo.carlini@oracle.com>
6
7 PR libstdc++/48631
8 * include/bits/unique_ptr.h (default_delete<_Tp[]>): Add deleted
9 function call operator.
10 * testsuite/20_util/default_delete/48631_neg.cc: New.
11 * testsuite/20_util/weak_ptr/comparison/cmp_neg.cc: Adjust dg-error
12 line numbers.
13
14
15git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172535 138bc75d-0d04-0410-961f-82ee72b054a4
16
17index 1be2e7a..9ab1938 100644
18--- a/libstdc++-v3/include/bits/unique_ptr.h
19+++ b/libstdc++-v3/include/bits/unique_ptr.h
20@@ -79,6 +79,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
21 "can't delete pointer to incomplete type");
22 delete [] __ptr;
23 }
24+
25+ template<typename _Up> void operator()(_Up*) const = delete;
26 };
27
28 /// 20.7.12.2 unique_ptr for single objects.
29diff --git a/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc b/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc
30new file mode 100644
31index 0000000..9d779ac
32--- /dev/null
33+++ b/libstdc++-v3/testsuite/20_util/default_delete/48631_neg.cc
34@@ -0,0 +1,30 @@
35+// { dg-options "-std=gnu++0x " }
36+// { dg-do compile }
37+
38+// Copyright (C) 2011 Free Software Foundation
39+//
40+// This file is part of the GNU ISO C++ Library. This library is free
41+// software; you can redistribute it and/or modify it under the
42+// terms of the GNU General Public License as published by the
43+// Free Software Foundation; either version 3, or (at your option)
44+// any later version.
45+
46+// This library is distributed in the hope that it will be useful,
47+// but WITHOUT ANY WARRANTY; without even the implied warranty of
48+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
49+// GNU General Public License for more details.
50+
51+// You should have received a copy of the GNU General Public License along
52+// with this library; see the file COPYING3. If not see
53+// <http://www.gnu.org/licenses/>.
54+
55+#include <memory>
56+
57+struct B { };
58+struct D : B { };
59+
60+// libstdc++/48631
61+D d;
62+std::default_delete<B[]> db;
63+typedef decltype(db(&d)) type; // { dg-error "use of deleted function" }
64+// { dg-error "declared here" "" { target *-*-* } 83 }
65diff --git a/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc b/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc
66index 28c8797..63f44d1 100644
67--- a/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc
68+++ b/libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc
69@@ -44,7 +44,7 @@ main()
70
71 // { dg-warning "note" "" { target *-*-* } 354 }
72 // { dg-warning "note" "" { target *-*-* } 1086 }
73-// { dg-warning "note" "" { target *-*-* } 467 }
74+// { dg-warning "note" "" { target *-*-* } 469 }
75 // { dg-warning "note" "" { target *-*-* } 587 }
76 // { dg-warning "note" "" { target *-*-* } 1050 }
77 // { dg-warning "note" "" { target *-*-* } 1056 }
78--
791.7.0.4
80