[patch] merge true_dependence and canon_true_dependence

H.J. Lu hjl.tools@gmail.com
Fri Jul 23 02:35:00 GMT 2010


On Thu, Jul 22, 2010 at 11:00 AM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> Hi,
>
> These two functions are almost the same, so let's merge them.
>
> This also uncovered that canon_true_dependence was missing one check
> that true_dependence checked for (the case when base is a constant
> pool address). Just shows that merging these two functions is a Good
> Thing.
>
> Bootstrapped&tested on x86_64-unknown-linux-gnu.
> OK for trunk?
>
> Ciao!
> Steven
>
>
>        * alias.c (true_dependence_1): New function, merged version of
>        true_dependence and canon_true_dependence.
>        (true_dependence): Simplify.
>        (canon_true_dependence): Simplify.
>

This caused:

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45035

You may need a newer gdb to see test failure. Or you can compare
assembly output before and after your changes.


-- 
H.J.



More information about the Gcc-patches mailing list