r257513 - in /trunk/gcc: ChangeLog output.h tes...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Fri Feb 9 05:47:00 GMT 2018


Author: jakub
Date: Fri Feb  9 05:47:24 2018
New Revision: 257513

URL: https://gcc.gnu.org/viewcvs?rev=257513&root=gcc&view=rev
Log:
	PR middle-end/84237
	* output.h (bss_initializer_p): Add NAMED argument, defaulted to false.
	* varasm.c (bss_initializer_p): Add NAMED argument, if true, ignore
	TREE_READONLY bit.
	(get_variable_section): For decls in named .bss* sections pass true as
	second argument to bss_initializer_p.

	* gcc.dg/pr84237.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/pr84237.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/output.h
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/varasm.c



More information about the Gcc-cvs mailing list