This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r237554 - in /trunk: gcc/cp/ChangeLog gcc/cp/se...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 17 Jun 2016 13:35:42 -0000
- Subject: r237554 - in /trunk: gcc/cp/ChangeLog gcc/cp/se...
Author: jakub
Date: Fri Jun 17 13:35:42 2016
New Revision: 237554
URL: https://gcc.gnu.org/viewcvs?rev=237554&root=gcc&view=rev
Log:
* semantics.c (handle_omp_array_sections_1): Don't ICE when
processing_template_decl when checking for bitfields and unions.
Look through REFERENCE_REF_P as base of COMPONENT_REF.
(finish_omp_clauses): Look through REFERENCE_REF_P even for
array sections with COMPONENT_REF bases.
* testsuite/libgomp.c++/target-21.C: New test.
Added:
trunk/libgomp/testsuite/libgomp.c++/target-21.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/libgomp/ChangeLog