[Bug c++/36308] OpenMP privatized vars don't get dtors called if they are virtual

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri May 23 12:18:00 GMT 2008



------- Comment #2 from jakub at gcc dot gnu dot org  2008-05-23 12:17 -------
Subject: Bug 36308

Author: jakub
Date: Fri May 23 12:16:41 2008
New Revision: 135800

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=135800
Log:
        PR c++/36308
        * semantics.c (omp_clause_info_fndecl): New function.
        (finish_omp_clauses): Use it.

        * testsuite/libgomp.c++/ctor-11.C: New test.
        * testsuite/libgomp.c++/ctor-12.C: New test.

Added:
    branches/gcc-4_3-branch/libgomp/testsuite/libgomp.c++/ctor-11.C
    branches/gcc-4_3-branch/libgomp/testsuite/libgomp.c++/ctor-12.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/semantics.c
    branches/gcc-4_3-branch/libgomp/ChangeLog


-- 


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



More information about the Gcc-bugs mailing list