[Bug c++/38650] [4.3/4.4 regression] Trouble with volatile and #pragma omp for

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Dec 28 20:08:00 GMT 2008



------- Comment #1 from jakub at gcc dot gnu dot org  2008-12-28 20:07 -------
Subject: Bug 38650

Author: jakub
Date: Sun Dec 28 20:06:00 2008
New Revision: 142940

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142940
Log:
        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.

Added:
    trunk/libgomp/testsuite/libgomp.c++/pr38650.C
    trunk/libgomp/testsuite/libgomp.c/pr38650.c
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/semantics.c
    trunk/libgomp/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38650



More information about the Gcc-bugs mailing list