[Bug c++/81314] [6/7/8 Regression] Undefined reference to a function with -fopenmp
jakub at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 14 20:18:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81314
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Thu Sep 14 20:18:17 2017
New Revision: 252770
URL: https://gcc.gnu.org/viewcvs?rev=252770&root=gcc&view=rev
Log:
PR c++/81314
* cp-gimplify.c (omp_var_to_track): Look through references.
(omp_cxx_notice_variable): Likewise.
* testsuite/libgomp.c++/pr81314.C: New test.
Added:
trunk/libgomp/testsuite/libgomp.c++/pr81314.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list