diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-06-17 17:11:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-23 11:49:04 +0100 |
commit | 68b545f4ff719f2b6e57d68b002dc9845c7a14ae (patch) | |
tree | f21182fa4d1394686b9afafbaac6d90bc3aa69a8 /meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0290-PR-c-48873.patch | |
parent | b32666e29999c7c698b1a1378f96844fbc48358d (diff) | |
download | openembedded-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/0290-PR-c-48873.patch')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0290-PR-c-48873.patch | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0290-PR-c-48873.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0290-PR-c-48873.patch deleted file mode 100644 index 05fdccb88..000000000 --- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0290-PR-c-48873.patch +++ /dev/null @@ -1,45 +0,0 @@ -From ca1dcc7740a2532bae1d898dd326b43da54a2c54 Mon Sep 17 00:00:00 2001 -From: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Fri, 20 May 2011 19:01:53 +0000 -Subject: [PATCH] PR c++/48873 - * tree.c (stabilize_expr): Don't make gratuitous copies of classes. - -git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@173970 138bc75d-0d04-0410-961f-82ee72b054a4 - -index f04fd23..16b9ca1 100644 ---- a/gcc/cp/tree.c -+++ b/gcc/cp/tree.c -@@ -3124,7 +3124,8 @@ stabilize_expr (tree exp, tree* initp) - - if (!TREE_SIDE_EFFECTS (exp)) - init_expr = NULL_TREE; -- else if (!TYPE_NEEDS_CONSTRUCTING (TREE_TYPE (exp)) -+ else if ((!TYPE_NEEDS_CONSTRUCTING (TREE_TYPE (exp)) -+ && !TYPE_HAS_NONTRIVIAL_DESTRUCTOR (TREE_TYPE (exp))) - || !lvalue_or_rvalue_with_address_p (exp)) - { - init_expr = get_target_expr (exp); -new file mode 100644 -index 0000000..f827857 ---- /dev/null -+++ b/gcc/testsuite/g++.dg/init/new32.C -@@ -0,0 +1,16 @@ -+// PR c++/48873 -+ -+#include <new> -+ -+struct D { -+private: -+ ~D(); -+}; -+ -+template<class T> -+T& create(); -+ -+void f() -+{ -+ D* dp = new (((void*) 0)) D(create<D>()); // # -+} --- -1.7.0.4 - |