summaryrefslogtreecommitdiff
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 11:54:44 +0100
commitb0d5b9f12adbce2c4a0df6059f5671188cd32293 (patch)
treef376fcd2e5dcc46185d73d619ce2eec31320d812 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0126-2011-04-15-Paolo-Carlini-paolo.carlini-oracle.com.patch
parent81859b136c0153e8d5be71d56e910dcc3e8cdb66 (diff)
downloadopenembedded-core-b0d5b9f12adbce2c4a0df6059f5671188cd32293.tar.gz
openembedded-core-b0d5b9f12adbce2c4a0df6059f5671188cd32293.tar.bz2
openembedded-core-b0d5b9f12adbce2c4a0df6059f5671188cd32293.tar.xz
openembedded-core-b0d5b9f12adbce2c4a0df6059f5671188cd32293.zip
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 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/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 000000000..36cdf03ba
--- /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 @@
+From 6cd1f8146545d6f82269c9a96a05438a06fcdc1a Mon Sep 17 00:00:00 2001
+From: paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
+Date: Fri, 15 Apr 2011 16:19:39 +0000
+Subject: [PATCH 126/200] 2011-04-15 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * include/std/istream: Fix comments in the light of DR60 + N3168.
+
+
+git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172501 138bc75d-0d04-0410-961f-82ee72b054a4
+
+index ded4833..fb39392 100644
+--- a/libstdc++-v3/include/std/istream
++++ b/libstdc++-v3/include/std/istream
+@@ -495,8 +495,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
+ * If @c rdbuf() is null or if @c sputbackc() fails, sets badbit in
+ * the error state.
+ *
+- * @note Since no characters are extracted, the next call to
+- * @c gcount() will return 0, as required by DR 60.
++ * @note This function first clears eofbit. Since no characters
++ * are extracted, the next call to @c gcount() will return 0,
++ * as required by DR 60.
+ */
+ __istream_type&
+ putback(char_type __c);
+@@ -510,8 +511,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
+ * If @c rdbuf() is null or if @c sungetc() fails, sets badbit in
+ * the error state.
+ *
+- * @note Since no characters are extracted, the next call to
+- * @c gcount() will return 0, as required by DR 60.
++ * @note This function first clears eofbit. Since no characters
++ * are extracted, the next call to @c gcount() will return 0,
++ * as required by DR 60.
+ */
+ __istream_type&
+ unget();
+@@ -543,9 +545,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
+ *
+ * @note This function does not count the number of characters
+ * extracted, if any, and therefore does not affect the next
+- * call to @c gcount().
++ * call to @c gcount(). At variance with putback, unget and
++ * seekg, eofbit is not cleared first.
+ */
+- pos_type
++ pos_type
+ tellg();
+
+ /**
+@@ -556,11 +559,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
+ * If @c fail() is not true, calls @c rdbuf()->pubseekpos(pos). If
+ * that function fails, sets failbit.
+ *
+- * @note This function does not count the number of characters
+- * extracted, if any, and therefore does not affect the next
+- * call to @c gcount().
++ * @note This function first clears eofbit. It does not count the
++ * number of characters extracted, if any, and therefore does
++ * not affect the next call to @c gcount().
+ */
+- __istream_type&
++ __istream_type&
+ seekg(pos_type);
+
+ /**
+@@ -572,9 +575,9 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
+ * If @c fail() is not true, calls @c rdbuf()->pubseekoff(off,dir).
+ * If that function fails, sets failbit.
+ *
+- * @note This function does not count the number of characters
+- * extracted, if any, and therefore does not affect the next
+- * call to @c gcount().
++ * @note This function first clears eofbit. It does not count the
++ * number of characters extracted, if any, and therefore does
++ * not affect the next call to @c gcount().
+ */
+ __istream_type&
+ seekg(off_type, ios_base::seekdir);
+--
+1.7.0.4
+