On Thu, Mar 13, 2014 at 05:19:02PM +0100, Jakub Jelinek wrote:
> On Thu, Mar 13, 2014 at 04:56:12PM +0100, Martin Jambor wrote:
> > PR lto/60461
> > * ipa-prop.c (ipa_modify_call_arguments): Fix iteration condition.
> >
> > testsuite/
> > * gcc.dg/lto/pr60461_0.c: New test.
> >
> > di
On Thu, Mar 13, 2014 at 04:56:12PM +0100, Martin Jambor wrote:
> PR lto/60461
> * ipa-prop.c (ipa_modify_call_arguments): Fix iteration condition.
>
> testsuite/
> * gcc.dg/lto/pr60461_0.c: New test.
>
> diff --git a/gcc/ipa-prop.c b/gcc/ipa-prop.c
> index 4fb916a..efe8c7a 10064
Hi,
the reference re-building part of ipa_modify_call_arguments has a
stupid bug in the while loop condition, which means it does not look
at statements produced by force_gimple_operand_gsi which may lead to
bugs such as PR 60461.
The 4.8 branch does not have this code and does not exhibit the bu