+2006-03-13 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/25989
+ * omp-low.c (expand_omp_for_generic): Mark istart0
+ and iend0 as addressable.
+
2006-03-13 Jie Zhang <jie.zhang@analog.com>
* config/bfin/uclinux.h: Define _GNU_SOURCE in CPLUSPLUS_CPP_SPEC.
marshalling to implement data sharing and copying clauses.
Contributed by Diego Novillo <dnovillo@redhat.com>
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006 Free Software Foundation, Inc.
This file is part of GCC.
istart0 = create_tmp_var (long_integer_type_node, ".istart0");
iend0 = create_tmp_var (long_integer_type_node, ".iend0");
+ TREE_ADDRESSABLE (istart0) = 1;
+ TREE_ADDRESSABLE (iend0) = 1;
l0 = create_artificial_label ();
l1 = create_artificial_label ();
+2006-03-13 Jakub Jelinek <jakub@redhat.com>
+
+ PR middle-end/25989
+ * gcc.dg/gomp/pr25989.c: New test.
+
2006-03-13 Jeff Law <law@redhat.com>
* gcc.dg/tree-ssa/20030807-2.c: No longer expected to fail.
--- /dev/null
+/* PR middle-end/25989 */
+/* { dg-do compile } */
+/* { dg-options "-O2 -fopenmp" } */
+
+int
+main (void)
+{
+ int i, j;
+ float a, b = 1.0;
+
+#pragma omp parallel for schedule(guided,1) private(j)
+ for (i = 1; i <= 9; i++)
+ for (j = 1; j <= 9; j++)
+ a = b;
+ return 0;
+}