summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0024-except.c-build_noexcept_spec-Call-cxx_constant_value.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:49:04 +0100
commit68b545f4ff719f2b6e57d68b002dc9845c7a14ae (patch)
treef21182fa4d1394686b9afafbaac6d90bc3aa69a8 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0024-except.c-build_noexcept_spec-Call-cxx_constant_value.patch
parentb32666e29999c7c698b1a1378f96844fbc48358d (diff)
downloadopenembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.gz
openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.bz2
openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.tar.xz
openembedded-core-68b545f4ff719f2b6e57d68b002dc9845c7a14ae.zip
gcc-4.6: Switch to using svn SRC_URI for recipe
We call the recipes 4.6 Remove the backport patches 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/0024-except.c-build_noexcept_spec-Call-cxx_constant_value.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0024-except.c-build_noexcept_spec-Call-cxx_constant_value.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0024-except.c-build_noexcept_spec-Call-cxx_constant_value.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0024-except.c-build_noexcept_spec-Call-cxx_constant_value.patch
deleted file mode 100644
index 6771fad9e..000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0024-except.c-build_noexcept_spec-Call-cxx_constant_value.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 3a987d8e4a8c885fe7fc54595ebdd82d5291e1e7 Mon Sep 17 00:00:00 2001
-From: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Tue, 29 Mar 2011 14:24:30 +0000
-Subject: [PATCH] * except.c (build_noexcept_spec): Call cxx_constant_value after
- converting to bool.
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@171665 138bc75d-0d04-0410-961f-82ee72b054a4
-
-index c05e507..a814d67 100644
---- a/gcc/cp/except.c
-+++ b/gcc/cp/except.c
-@@ -1203,10 +1203,10 @@ build_noexcept_spec (tree expr, int complain)
- it until instantiation. */
- if (!processing_template_decl)
- {
-- expr = cxx_constant_value (expr);
- expr = perform_implicit_conversion_flags (boolean_type_node, expr,
- complain,
- LOOKUP_NORMAL);
-+ expr = cxx_constant_value (expr);
- }
- if (expr == boolean_true_node)
- return noexcept_true_spec;
-new file mode 100644
-index 0000000..7bf961b
---- /dev/null
-+++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-noexcept5.C
-@@ -0,0 +1,15 @@
-+// { dg-options -std=c++0x }
-+
-+struct booleable {
-+ bool data;
-+ constexpr explicit operator bool() { return data; }
-+};
-+
-+constexpr booleable truthy_func() { return {true}; }
-+
-+void funky() noexcept(truthy_func()) {}
-+
-+int main() {
-+ funky();
-+ return 0;
-+}
---
-1.7.0.4
-