r249467 - in /trunk/gcc: cp/ChangeLog cp/semant...
jakub@gcc.gnu.org
jakub@gcc.gnu.org
Wed Jun 21 18:30:00 GMT 2017
Author: jakub
Date: Wed Jun 21 18:30:32 2017
New Revision: 249467
URL: https://gcc.gnu.org/viewcvs?rev=249467&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:
trunk/gcc/testsuite/g++.dg/gomp/pr81154.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-cvs
mailing list