summaryrefslogtreecommitdiff
path: root/gcc/omp-low.c
diff options
context:
space:
mode:
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-13 19:36:19 +0000
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>2006-03-13 19:36:19 +0000
commit6d63fc03509903fa780735cbbe53190b36bacb26 (patch)
tree9b349467185d46d153a5e9a251dfd5c2fc20e659 /gcc/omp-low.c
parent7730fe9c50c89168f8eddbd017b4a34ccf56cec5 (diff)
downloadgcc-6d63fc03509903fa780735cbbe53190b36bacb26.tar.gz
PR middle-end/25989
* omp-low.c (expand_omp_for_generic): Mark istart0 and iend0 as addressable. * gcc.dg/gomp/pr25989.c: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@112023 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/omp-low.c')
-rw-r--r--gcc/omp-low.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/omp-low.c b/gcc/omp-low.c
index 0a9c96fb0de..65f7151b0ce 100644
--- a/gcc/omp-low.c
+++ b/gcc/omp-low.c
@@ -3,7 +3,7 @@
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.
@@ -2430,6 +2430,8 @@ expand_omp_for_generic (struct omp_region *region,
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 ();