]> rtime.felk.cvut.cz Git - fpga/lx-cpu1/gcc-tumbl.git/commit
Backported from mainline
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Feb 2013 17:19:36 +0000 (17:19 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 19 Feb 2013 17:19:36 +0000 (17:19 +0000)
commit44d6be87705fa012d77883a90b3c121cf9403e12
tree176434f16f49121e2f1b35cbe6bd1ebc0cf74041
parent469da94d2b8c1ab34749b65bd3760744ceb9a507
Backported from mainline
2013-02-06  Jakub Jelinek  <jakub@redhat.com>

PR middle-end/56217
* omp-low.c (use_pointer_for_field): Return false if
lower_send_shared_vars doesn't generate any copy-out code.

* g++.dg/gomp/pr56217.C: New test.

* testsuite/libgomp.c++/pr56217.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@196141 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/omp-low.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/gomp/pr56217.C [new file with mode: 0644]
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr56217.C [new file with mode: 0644]