summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0099-2011-04-10-Jonathan-Wakely-jwakely.gcc-gmail.com.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-04-30 12:37:47 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-05 12:26:41 +0100
commit478deec11f3349d61b1a922f047dc958dc07262a (patch)
tree1843907b36de2bcb8f821d49d8c9a88014ef0dc7 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0099-2011-04-10-Jonathan-Wakely-jwakely.gcc-gmail.com.patch
parentd42dccf886983ba14ccc868041d7bea0cf1a260e (diff)
downloadpoky-478deec11f3349d61b1a922f047dc958dc07262a.tar.gz
gcc-4.6.0: Backport FSF 4.6 branch patches
This is set of bugfixes that has been done on FSF gcc-4_2-branch since 4.6.0 was released They will roll into 4.6.1 release once that happens in coming approx 6 months time then we can simply remove them thats the reason so use a separate .inc file to define the SRC_URI additions (From OE-Core rev: b0d5b9f12adbce2c4a0df6059f5671188cd32293) 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/0099-2011-04-10-Jonathan-Wakely-jwakely.gcc-gmail.com.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0099-2011-04-10-Jonathan-Wakely-jwakely.gcc-gmail.com.patch106
1 files changed, 106 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0099-2011-04-10-Jonathan-Wakely-jwakely.gcc-gmail.com.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0099-2011-04-10-Jonathan-Wakely-jwakely.gcc-gmail.com.patch
new file mode 100644
index 0000000000..34fad1cdc1
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0099-2011-04-10-Jonathan-Wakely-jwakely.gcc-gmail.com.patch
@@ -0,0 +1,106 @@
1From 2173abe5d6f3f3157317caa470226e13827c3df9 Mon Sep 17 00:00:00 2001
2From: redi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Sun, 10 Apr 2011 16:34:34 +0000
4Subject: [PATCH 099/200] 2011-04-10 Jonathan Wakely <jwakely.gcc@gmail.com>
5
6 * testsuite/20_util/function/48451.cc: Rename to...
7 * testsuite/20_util/function/48541.cc: This.
8
9
10
11git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172243 138bc75d-0d04-0410-961f-82ee72b054a4
12
13deleted file mode 100644
14index f812367..0000000
15--- a/libstdc++-v3/testsuite/20_util/function/48451.cc
16+++ /dev/null
17@@ -1,40 +0,0 @@
18-// { dg-options "-std=gnu++0x" }
19-// { dg-do compile }
20-// Copyright (C) 2011 Free Software Foundation, Inc.
21-//
22-// This file is part of the GNU ISO C++ Library. This library is free
23-// software; you can redistribute it and/or modify it under the
24-// terms of the GNU General Public License as published by the
25-// Free Software Foundation; either version 3, or (at your option)
26-// any later version.
27-//
28-// This library is distributed in the hope that it will be useful,
29-// but WITHOUT ANY WARRANTY; without even the implied warranty of
30-// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31-// GNU General Public License for more details.
32-//
33-// You should have received a copy of the GNU General Public License along
34-// with this library; see the file COPYING3. If not see
35-// <http://www.gnu.org/licenses/>.
36-
37-// libstdc++/48451
38-
39-#include <functional>
40-
41-struct X {
42- void operator () () const { }
43- float operator & () const { return 1.2345; }
44-};
45-
46-void test01()
47-{
48- X x;
49- std::function<void()> f(x);
50- f();
51-}
52-
53-int main()
54-{
55- test01();
56- return 0;
57-}
58diff --git a/libstdc++-v3/testsuite/20_util/function/48541.cc b/libstdc++-v3/testsuite/20_util/function/48541.cc
59new file mode 100644
60index 0000000..f812367
61--- /dev/null
62+++ b/libstdc++-v3/testsuite/20_util/function/48541.cc
63@@ -0,0 +1,40 @@
64+// { dg-options "-std=gnu++0x" }
65+// { dg-do compile }
66+// Copyright (C) 2011 Free Software Foundation, Inc.
67+//
68+// This file is part of the GNU ISO C++ Library. This library is free
69+// software; you can redistribute it and/or modify it under the
70+// terms of the GNU General Public License as published by the
71+// Free Software Foundation; either version 3, or (at your option)
72+// any later version.
73+//
74+// This library is distributed in the hope that it will be useful,
75+// but WITHOUT ANY WARRANTY; without even the implied warranty of
76+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
77+// GNU General Public License for more details.
78+//
79+// You should have received a copy of the GNU General Public License along
80+// with this library; see the file COPYING3. If not see
81+// <http://www.gnu.org/licenses/>.
82+
83+// libstdc++/48451
84+
85+#include <functional>
86+
87+struct X {
88+ void operator () () const { }
89+ float operator & () const { return 1.2345; }
90+};
91+
92+void test01()
93+{
94+ X x;
95+ std::function<void()> f(x);
96+ f();
97+}
98+
99+int main()
100+{
101+ test01();
102+ return 0;
103+}
104--
1051.7.0.4
106