Hi,
the following patch fixes PR 56988 by distinguishing between by
reference and by value aggregate replacement value. While it is OK to
ignore the difference in the last phases of propagation/decision
making because any discrepancies have already been weeded out there,
the testcase clearly show
Ping.
Thanks,
Martin
- Forwarded message from Martin Jambor -
Date: Fri, 19 Apr 2013 11:05:58 +0200
From: Martin Jambor
To: GCC Patches
Cc: Jan Hubicka
Subject: [PATCH, PR 56988] Honor by_ref in IPA-CP transformation phase
Hi,
the following patch fixes PR 56988 by distinguishing
> 2013-04-18 Martin Jambor
>
> 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 fla