r220773 - in /trunk/gcc: ChangeLog common.opt d...

hjl@gcc.gnu.org hjl@gcc.gnu.org
Tue Feb 17 21:25:00 GMT 2015


Author: hjl
Date: Tue Feb 17 21:25:56 2015
New Revision: 220773

URL: https://gcc.gnu.org/viewcvs?rev=220773&root=gcc&view=rev
Log:
Add -fipa-cp-alignment

This patch adds -fipa-cp-alignment to provide a way to enable/disable
alignment discovery and propagation in IPA-CP.

gcc/

	* common.opt (fipa-cp-alignment): New.
	* ipa-cp.c (ipcp_store_alignment_results): Check
	flag_ipa_cp_alignment.
	* opts.c (default_options_table): Enable -fipa-cp-alignment for
	-O2.
	(enable_fdo_optimizations): Set x_flag_ipa_cp_alignment.
	* doc/invoke.texi: Document -fipa-cp-alignment.

gcc/testsuite/

	* gcc.dg/ipa/propalign-3.c: New test.

Added:
    trunk/gcc/testsuite/gcc.dg/ipa/propalign-3.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/common.opt
    trunk/gcc/doc/invoke.texi
    trunk/gcc/ipa-cp.c
    trunk/gcc/opts.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list