This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249539 - in /branches/gcc-6-branch/gcc: cp/Cha...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 22 Jun 2017 11:34:40 -0000
- Subject: r249539 - in /branches/gcc-6-branch/gcc: cp/Cha...
Author: jakub
Date: Thu Jun 22 11:34:39 2017
New Revision: 249539
URL: https://gcc.gnu.org/viewcvs?rev=249539&root=gcc&view=rev
Log:
Backported from mainline
2017-06-21 Jakub Jelinek <jakub@redhat.com>
PR c++/81154
* semantics.c (handle_omp_array_sections_1, finish_omp_clauses):
Complain about t not being a variable if t is OVERLOAD even
when processing_template_decl.
* g++.dg/gomp/pr81154.C: New test.
Modified:
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/testsuite/ChangeLog