This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r249483 - in /branches/gcc-7-branch/gcc: cp/Cha...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Wed, 21 Jun 2017 22:22:06 -0000
- Subject: r249483 - in /branches/gcc-7-branch/gcc: cp/Cha...
Author: jakub
Date: Wed Jun 21 22:22:05 2017
New Revision: 249483
URL: https://gcc.gnu.org/viewcvs?rev=249483&root=gcc&view=rev
Log:
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.
Added:
branches/gcc-7-branch/gcc/testsuite/g++.dg/gomp/pr81154.C
Modified:
branches/gcc-7-branch/gcc/cp/ChangeLog
branches/gcc-7-branch/gcc/cp/semantics.c
branches/gcc-7-branch/gcc/testsuite/ChangeLog