[PATCH][4.2] Fix PR30567, alias miscompile

Andrew Pinski pinskia@gmail.com
Thu Apr 26 15:48:00 GMT 2007


On 4/26/07, Richard Guenther <rguenther@suse.de> wrote:
>
> This fixes PR30567 as it was fixed on mainline (thx Danny for identifying
> the patch).
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to the 4.2
> branch.
>
> Richard.
>
> 2007-04-26  Richard Guenther  <rguenther@suse.de>
>         Daniel Berlin  <dberlin@dberlin.org>
>
>         PR tree-optimization/30567
>         * tree-ssa-structalias.c (update_alias_info): Record dereference
>         also if ESCAPE_STORED_IN_GLOBAL.
>
>         * g++.dg/other/pr30567.C: New testcase.

Can you please also add the testcase to the trunk?

Thanks,
Andrew Pinski



More information about the Gcc-patches mailing list