r273965 - in /branches/gcc-9-branch/gcc: Change...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Thu Aug 1 06:30:00 GMT 2019


Author: jakub
Date: Thu Aug  1 06:30:26 2019
New Revision: 273965

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

	PR middle-end/91216
	* omp-low.c (global_nonaddressable_vars): New variable.
	(use_pointer_for_field): For global decls, if they are non-addressable,
	remember it in the global_nonaddressable_vars bitmap, if they are
	addressable and in the global_nonaddressable_vars bitmap, ignore their
	TREE_ADDRESSABLE bit.
	(omp_copy_decl_2): Clear TREE_ADDRESSABLE also on private copies of
	vars in global_nonaddressable_vars bitmap.
	(execute_lower_omp): Free global_nonaddressable_vars bitmap.

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

Added:
    branches/gcc-9-branch/gcc/testsuite/gcc.dg/gomp/pr91216.c
Modified:
    branches/gcc-9-branch/gcc/ChangeLog
    branches/gcc-9-branch/gcc/omp-low.c
    branches/gcc-9-branch/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list