summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0126-2011-04-15-Paolo-Carlini-paolo.carlini-oracle.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/0126-2011-04-15-Paolo-Carlini-paolo.carlini-oracle.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/0126-2011-04-15-Paolo-Carlini-paolo.carlini-oracle.com.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0126-2011-04-15-Paolo-Carlini-paolo.carlini-oracle.com.patch82
1 files changed, 82 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0126-2011-04-15-Paolo-Carlini-paolo.carlini-oracle.com.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0126-2011-04-15-Paolo-Carlini-paolo.carlini-oracle.com.patch
new file mode 100644
index 0000000000..36cdf03ba4
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0126-2011-04-15-Paolo-Carlini-paolo.carlini-oracle.com.patch
@@ -0,0 +1,82 @@
1From 6cd1f8146545d6f82269c9a96a05438a06fcdc1a Mon Sep 17 00:00:00 2001
2From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
3Date: Fri, 15 Apr 2011 16:19:39 +0000
4Subject: [PATCH 126/200] 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
5
6 * include/std/istream: Fix comments in the light of DR60 + N3168.
7
8
9git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172501 138bc75d-0d04-0410-961f-82ee72b054a4
10
11index ded4833..fb39392 100644
12--- a/libstdc++-v3/include/std/istream
13+++ b/libstdc++-v3/include/std/istream
14@@ -495,8 +495,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
15 * If @c rdbuf() is null or if @c sputbackc() fails, sets badbit in
16 * the error state.
17 *
18- * @note Since no characters are extracted, the next call to
19- * @c gcount() will return 0, as required by DR 60.
20+ * @note This function first clears eofbit. Since no characters
21+ * are extracted, the next call to @c gcount() will return 0,
22+ * as required by DR 60.
23 */
24 __istream_type&
25 putback(char_type __c);
26@@ -510,8 +511,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
27 * If @c rdbuf() is null or if @c sungetc() fails, sets badbit in
28 * the error state.
29 *
30- * @note Since no characters are extracted, the next call to
31- * @c gcount() will return 0, as required by DR 60.
32+ * @note This function first clears eofbit. Since no characters
33+ * are extracted, the next call to @c gcount() will return 0,
34+ * as required by DR 60.
35 */
36 __istream_type&
37 unget();
38@@ -543,9 +545,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
39 *
40 * @note This function does not count the number of characters
41 * extracted, if any, and therefore does not affect the next
42- * call to @c gcount().
43+ * call to @c gcount(). At variance with putback, unget and
44+ * seekg, eofbit is not cleared first.
45 */
46- pos_type
47+ pos_type
48 tellg();
49
50 /**
51@@ -556,11 +559,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
52 * If @c fail() is not true, calls @c rdbuf()->pubseekpos(pos). If
53 * that function fails, sets failbit.
54 *
55- * @note This function does not count the number of characters
56- * extracted, if any, and therefore does not affect the next
57- * call to @c gcount().
58+ * @note This function first clears eofbit. It does not count the
59+ * number of characters extracted, if any, and therefore does
60+ * not affect the next call to @c gcount().
61 */
62- __istream_type&
63+ __istream_type&
64 seekg(pos_type);
65
66 /**
67@@ -572,9 +575,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
68 * If @c fail() is not true, calls @c rdbuf()->pubseekoff(off,dir).
69 * If that function fails, sets failbit.
70 *
71- * @note This function does not count the number of characters
72- * extracted, if any, and therefore does not affect the next
73- * call to @c gcount().
74+ * @note This function first clears eofbit. It does not count the
75+ * number of characters extracted, if any, and therefore does
76+ * not affect the next call to @c gcount().
77 */
78 __istream_type&
79 seekg(off_type, ios_base::seekdir);
80--
811.7.0.4
82