This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/81314] [6/7/8 Regression] Undefined reference to a function with -fopenmp


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]