[google] Improve locus information during if-conversion (issue4526101)

Sharad Singhai (शरद सिंघई) singhai@google.com
Thu Jun 2 16:46:00 GMT 2011


This patch improves precision of the line number information during
coverage mode. Yes, I need to add an example/test case. I was planning
to do that before I propose this patch for trunk as well.

Thanks,
Sharad

On Thu, Jun 2, 2011 at 4:46 AM, Diego Novillo <dnovillo@google.com> wrote:
>
> On Wed, Jun 1, 2011 at 21:03, Sharad Singhai <singhai@google.com> wrote:
>
> > 2011-06-01  Sharad Singhai  <singhai@google.com>
> >
> >        Google Ref 39994
> >        * ifcvt.c (noce_try_cmove_arith): Use the locus information
> >        from the if-statment rather than the then path.
>
> Could you elaborate how it improves locus information?  Is there a
> test case you can add to the testsuite?  Or an example code fragment
> that shows how is the locus better now?
>
> OK for google/main.
>
>
> Diego.



More information about the Gcc-patches mailing list