summaryrefslogtreecommitdiff
path: root/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0166-PR-c-48716.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/0166-PR-c-48716.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/0166-PR-c-48716.patch')
-rw-r--r--meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0166-PR-c-48716.patch87
1 files changed, 0 insertions, 87 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0166-PR-c-48716.patch b/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0166-PR-c-48716.patch
deleted file mode 100644
index b75b90654..000000000
--- a/meta/recipes-devtools/gcc/gcc-4.6.0/gcc-4_6-branch-backports/0166-PR-c-48716.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-From 3a3d51cb4f1ec33265471b03d21b96d30e899858 Mon Sep 17 00:00:00 2001
-From: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
-Date: Fri, 22 Apr 2011 14:11:44 +0000
-Subject: [PATCH] PR c/48716
- * gimplify.c (gimplify_bind_expr): Mark as GOVD_LOCAL also
- TREE_STATIC variables declared inside of some OpenMP construct.
-
- * gcc.dg/gomp/pr48716.c: New test.
- * g++.dg/gomp/pr48716.C: New test.
-
-
-git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_6-branch@172860 138bc75d-0d04-0410-961f-82ee72b054a4
-
-index 400493f..908d736 100644
---- a/gcc/gimplify.c
-+++ b/gcc/gimplify.c
-@@ -1138,7 +1138,7 @@ gimplify_bind_expr (tree *expr_p, gimple_seq *pre_p)
- struct gimplify_omp_ctx *ctx = gimplify_omp_ctxp;
-
- /* Mark variable as local. */
-- if (ctx && !is_global_var (t)
-+ if (ctx && !DECL_EXTERNAL (t)
- && (! DECL_SEEN_IN_BIND_EXPR_P (t)
- || splay_tree_lookup (ctx->variables,
- (splay_tree_key) t) == NULL))
-new file mode 100644
-index 0000000..2dccad2
---- /dev/null
-+++ b/gcc/testsuite/g++.dg/gomp/pr48716.C
-@@ -0,0 +1,24 @@
-+// PR c/48716
-+// { dg-do compile }
-+// { dg-options "-fopenmp" }
-+
-+int
-+main (void)
-+{
-+ #pragma omp parallel default(none)
-+ {
-+ static int s;
-+ int t = 0;
-+ #pragma omp atomic
-+ s++;
-+ t++;
-+ }
-+ #pragma omp task default(none)
-+ {
-+ static int s;
-+ int t = 0;
-+ #pragma omp atomic
-+ s++;
-+ t++;
-+ }
-+}
-diff --git a/gcc/testsuite/gcc.dg/gomp/pr48716.c b/gcc/testsuite/gcc.dg/gomp/pr48716.c
-new file mode 100644
-index 0000000..3496e2f
---- /dev/null
-+++ b/gcc/testsuite/gcc.dg/gomp/pr48716.c
-@@ -0,0 +1,24 @@
-+/* PR c/48716 */
-+/* { dg-do compile } */
-+/* { dg-options "-fopenmp" } */
-+
-+int
-+main (void)
-+{
-+ #pragma omp parallel default(none)
-+ {
-+ static int s;
-+ int t = 0;
-+ #pragma omp atomic
-+ s++;
-+ t++;
-+ }
-+ #pragma omp task default(none)
-+ {
-+ static int s;
-+ int t = 0;
-+ #pragma omp atomic
-+ s++;
-+ t++;
-+ }
-+}
---
-1.7.0.4
-