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

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Jun 22 20:51:00 GMT 2018


Author: jakub
Date: Fri Jun 22 20:51:42 2018
New Revision: 261930

URL: https://gcc.gnu.org/viewcvs?rev=261930&root=gcc&view=rev
Log:
	Backported from mainline
	2018-03-22  Jakub Jelinek  <jakub@redhat.com>

	PR sanitizer/85018
	* dwarf2asm.c (dw2_output_indirect_constant_1): Set
	DECL_INITIAL (decl) to decl at the end.
	* varasm.c (use_blocks_for_decl_p): Revert the 2018-03-20 change,
	adjust the comment.

	2018-03-20  Jakub Jelinek  <jakub@redhat.com>

	PR target/84990
	* dwarf2asm.c (dw2_output_indirect_constant_1): Temporarily turn off
	flag_section_anchors.
	* varasm.c (use_blocks_for_decl_p): Remove hack for
	dw2_force_const_mem.

	2018-03-19  Jakub Jelinek  <jakub@redhat.com>

	PR sanitizer/78651
	* dwarf2asm.c: Include fold-const.c.
	(dw2_output_indirect_constant_1): Set DECL_INITIAL (decl) to ADDR_EXPR
	of decl rather than decl itself.

	2018-03-19  Maxim Ostapenko  <m.ostapenko@samsung.com>

	PR sanitizer/78651
	* dwarf2asm.c (dw2_output_indirect_constant_1): Disable ASan before
	calling assemble_variable.

	* g++.dg/asan/pr78651.C: New test.

Added:
    branches/gcc-7-branch/gcc/testsuite/g++.dg/asan/pr78651.C
Modified:
    branches/gcc-7-branch/gcc/ChangeLog
    branches/gcc-7-branch/gcc/dwarf2asm.c
    branches/gcc-7-branch/gcc/testsuite/ChangeLog
    branches/gcc-7-branch/gcc/varasm.c



More information about the Gcc-cvs mailing list