[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
Fri Sep 15 11:27:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81314
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Fri Sep 15 11:27:07 2017
New Revision: 252806
URL: https://gcc.gnu.org/viewcvs?rev=252806&root=gcc&view=rev
Log:
Backported from mainline
2017-09-14 Jakub Jelinek <jakub@redhat.com>
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:
branches/gcc-7-branch/libgomp/testsuite/libgomp.c++/pr81314.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/cp-gimplify.c
branches/gcc-7-branch/libgomp/ChangeLog
More information about the Gcc-bugs
mailing list