This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r237630 - in /branches/gcc-6-branch: gcc/Change...
- From: jakub at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 21 Jun 2016 07:09:57 -0000
- Subject: r237630 - in /branches/gcc-6-branch: gcc/Change...
Author: jakub
Date: Tue Jun 21 07:09:57 2016
New Revision: 237630
URL: https://gcc.gnu.org/viewcvs?rev=237630&root=gcc&view=rev
Log:
Backported from mainline
2016-06-16 Jakub Jelinek <jakub@redhat.com>
* gimplify.c (gimplify_scan_omp_clauses): Handle COMPONENT_REFs
with base of reference to struct.
* parser.c (cp_parser_omp_var_list_no_open): Call
convert_from_reference before cp_parser_postfix_dot_deref_expression.
* semantics.c (finish_omp_clauses): Don't ICE when
processing_template_decl when checking for bitfields and unions.
Look through REFERENCE_REF_P as base of COMPONENT_REF.
* testsuite/libgomp.c++/target-20.C: New test.
Added:
branches/gcc-6-branch/libgomp/testsuite/libgomp.c++/target-20.C
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/cp/ChangeLog
branches/gcc-6-branch/gcc/cp/parser.c
branches/gcc-6-branch/gcc/cp/semantics.c
branches/gcc-6-branch/gcc/gimplify.c
branches/gcc-6-branch/libgomp/ChangeLog