r275163 - in /branches/gcc-7-branch/gcc: Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Aug 30 12:48:00 GMT 2019


Author: jakub
Date: Fri Aug 30 12:48:57 2019
New Revision: 275163

URL: https://gcc.gnu.org/viewcvs?rev=275163&root=gcc&view=rev
Log:
	Backported from mainline
	2019-07-04  Jakub Jelinek  <jakub@redhat.com>

	PR middle-end/78884
	* gimplify.c (struct gimplify_omp_ctx): Add add_safelen1 member.
	(gimplify_bind_expr): If seeing TREE_ADDRESSABLE VLA inside of simd
	loop body, set ctx->add_safelen1 instead of making it GOVD_PRIVATE.
	(gimplify_adjust_omp_clauses): Add safelen (1) clause if
	ctx->add_safelen1 is set.

	* gcc.dg/gomp/pr78884.c: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/gcc.dg/gomp/pr78884.c
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/gimplify.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list