From 709c4d66e0b107ca606941b988bad717c0b45d9b Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Tue, 17 Mar 2009 14:32:59 -0400 Subject: rename packages/ to recipes/ per earlier agreement See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko Acked-by: Mike Westerhof Acked-by: Philip Balister Acked-by: Khem Raj Acked-by: Marcin Juszkiewicz Acked-by: Koen Kooi Acked-by: Frans Meulenbroeks --- packages/gcc/gcc-4.3.3/fedora/gcc43-pr35751.patch | 114 ---------------------- 1 file changed, 114 deletions(-) delete mode 100644 packages/gcc/gcc-4.3.3/fedora/gcc43-pr35751.patch (limited to 'packages/gcc/gcc-4.3.3/fedora/gcc43-pr35751.patch') diff --git a/packages/gcc/gcc-4.3.3/fedora/gcc43-pr35751.patch b/packages/gcc/gcc-4.3.3/fedora/gcc43-pr35751.patch deleted file mode 100644 index 37b84275e2..0000000000 --- a/packages/gcc/gcc-4.3.3/fedora/gcc43-pr35751.patch +++ /dev/null @@ -1,114 +0,0 @@ -2008-04-03 Jakub Jelinek - - PR c/35751 - * c-decl.c (finish_decl): If extern or static var has variable - size, set TREE_TYPE (decl) to error_mark_node. - - * decl.c (layout_var_decl): If extern or static var has variable - size, set TREE_TYPE (decl) to error_mark_node. - - * gcc.dg/gomp/pr35751.c: New test. - * g++.dg/gomp/pr35751.C: New test. - ---- gcc/c-decl.c.jj 2008-04-03 09:41:42.000000000 +0200 -+++ gcc/c-decl.c 2008-04-03 18:20:52.000000000 +0200 -@@ -3481,7 +3481,10 @@ finish_decl (tree decl, tree init, tree - if (TREE_CODE (DECL_SIZE (decl)) == INTEGER_CST) - constant_expression_warning (DECL_SIZE (decl)); - else -- error ("storage size of %q+D isn%'t constant", decl); -+ { -+ error ("storage size of %q+D isn%'t constant", decl); -+ TREE_TYPE (decl) = error_mark_node; -+ } - } - - if (TREE_USED (type)) ---- gcc/cp/decl.c.jj 2008-03-31 23:54:40.000000000 +0200 -+++ gcc/cp/decl.c 2008-04-03 18:30:19.000000000 +0200 -@@ -4442,7 +4442,10 @@ layout_var_decl (tree decl) - if (TREE_CODE (DECL_SIZE (decl)) == INTEGER_CST) - constant_expression_warning (DECL_SIZE (decl)); - else -- error ("storage size of %qD isn't constant", decl); -+ { -+ error ("storage size of %qD isn't constant", decl); -+ TREE_TYPE (decl) = error_mark_node; -+ } - } - } - ---- gcc/testsuite/gcc.dg/gomp/pr35751.c.jj 2008-04-03 18:26:12.000000000 +0200 -+++ gcc/testsuite/gcc.dg/gomp/pr35751.c 2008-04-03 18:25:51.000000000 +0200 -@@ -0,0 +1,34 @@ -+/* PR c/35751 */ -+/* { dg-do compile } */ -+/* { dg-options "-fopenmp" } */ -+ -+void -+foo (int i) -+{ -+ extern int a[i]; /* { dg-error "must have no linkage|storage size of" } */ -+ static int b[i]; /* { dg-error "storage size of" } */ -+ -+#pragma omp parallel -+ { -+ a[0] = 0; -+ b[0] = 0; -+ } -+ -+#pragma omp parallel shared (a, b) -+ { -+ a[0] = 0; -+ b[0] = 0; -+ } -+ -+#pragma omp parallel private (a, b) -+ { -+ a[0] = 0; -+ b[0] = 0; -+ } -+ -+#pragma omp parallel firstprivate (a, b) -+ { -+ a[0] = 0; -+ b[0] = 0; -+ } -+} ---- gcc/testsuite/g++.dg/gomp/pr35751.C.jj 2008-04-03 18:32:13.000000000 +0200 -+++ gcc/testsuite/g++.dg/gomp/pr35751.C 2008-04-03 18:32:32.000000000 +0200 -@@ -0,0 +1,34 @@ -+// PR c/35751 -+// { dg-do compile } -+// { dg-options "-fopenmp" } -+ -+void -+foo (int i) -+{ -+ extern int a[i]; // { dg-error "storage size of" } -+ static int b[i]; // { dg-error "storage size of" } -+ -+#pragma omp parallel -+ { -+ a[0] = 0; -+ b[0] = 0; -+ } -+ -+#pragma omp parallel shared (a, b) -+ { -+ a[0] = 0; -+ b[0] = 0; -+ } -+ -+#pragma omp parallel private (a, b) -+ { -+ a[0] = 0; -+ b[0] = 0; -+ } -+ -+#pragma omp parallel firstprivate (a, b) -+ { -+ a[0] = 0; -+ b[0] = 0; -+ } -+} -- cgit v1.2.3