This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ping: [PATCH, PR 56988] Honor by_ref in IPA-CP transformation phase


> 2013-04-18  Martin Jambor  <mjambor@suse.cz>
> 
> 	PR middle-end/56988
> 	* ipa-prop.h (ipa_agg_replacement_value): New flag by_ref.
> 	* ipa-cp.c (ipa_get_indirect_edge_target_1): Also check that by_ref
> 	flags match.
> 	(find_aggregate_values_for_callers_subset): Fill in the by_ref flag of
> 	ipa_agg_replacement_value structures.
> 	(known_aggs_to_agg_replacement_list): Likewise.
> 	* ipa-prop.c (write_agg_replacement_chain): Stream by_ref flag.
> 	(read_agg_replacement_chain): Likewise.
> 	(ipcp_transform_function): Also check that by_ref flags match.
> 
> testsuite/
> 	* gcc.dg/ipa/pr56988.c: New test.
OK,
thanks!
Honza


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]