r265969 - in /trunk/gcc: ChangeLog cgraph.h com...

marxin@gcc.gnu.org marxin@gcc.gnu.org
Fri Nov 9 15:04:00 GMT 2018


Author: marxin
Date: Fri Nov  9 15:04:52 2018
New Revision: 265969

URL: https://gcc.gnu.org/viewcvs?rev=265969&root=gcc&view=rev
Log:
Come up with -fipa-reference-addressable flag.

2018-11-09  Martin Liska  <mliska@suse.cz>

	* cgraph.h (ipa_discover_readonly_nonaddressable_vars): Rename
	to ...
	(ipa_discover_variable_flags): ... this.
	* common.opt: Come up with new flag -fipa-reference-addressable.
	* doc/invoke.texi: Document it.
	* ipa-reference.c (propagate): Call the renamed fn.
	* ipa-visibility.c (whole_program_function_and_variable_visibility):
	Likewise.
	* ipa.c (ipa_discover_readonly_nonaddressable_vars): Renamed to
	...
	(ipa_discover_variable_flags): ... this.  Discover
	non-addressable variables only with the newly added flag.
	* opts.c: Enable the newly added flag with -O1 and higher
	optimization level.
2018-11-09  Martin Liska  <mliska@suse.cz>

	* gcc.dg/tree-ssa/writeonly-2.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/writeonly-2.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/cgraph.h
    trunk/gcc/common.opt
    trunk/gcc/doc/invoke.texi
    trunk/gcc/ipa-reference.c
    trunk/gcc/ipa-visibility.c
    trunk/gcc/ipa.c
    trunk/gcc/opts.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list