OSDN Git Service

PR c++/38650
authorjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Dec 2008 20:06:00 +0000 (20:06 +0000)
committerjakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 28 Dec 2008 20:06:00 +0000 (20:06 +0000)
commit267f2f49b76324f5a393e4cddc9c899e7a6bd894
treef612b0b6482de3bfab5e984231c0d017244573cb
parentf2bb0caab3f1442550fc59770df22b1b770a55b1
PR c++/38650
* semantics.c (finish_omp_for): Don't add CLEANUP_POINT_EXPR
around volatile iteration var in condition and/or increment
expression.

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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142940 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/semantics.c
libgomp/ChangeLog
libgomp/testsuite/libgomp.c++/pr38650.C [new file with mode: 0644]
libgomp/testsuite/libgomp.c/pr38650.c [new file with mode: 0644]