Plug obvious hole in tree_could_trap_p
Richard Guenther
richard.guenther@gmail.com
Sun Feb 18 22:32:00 GMT 2007
On 2/18/07, Eric Botcazou <ebotcazou@adacore.com> wrote:
> It simply doesn't know about VIEW_CONVERT_EXPR, which is a little annoying for
> the Ada compiler. We have a proprietary testcase for which this results in a
> loop invariant being wrongly hoisted out of a conditional construct.
>
> Bootstrapped/regtested on x86_64-suse-linux, applied to mainline and 4.2
> branch as obvious.
Can you add a testcase please? If this is a regression it also applies to
the 4.1 branch.
Thanks,
Richard.
>
> 2007-02-18 Eric Botcazou <ebotcazou@adacore.com>
>
> * tree-eh.c (tree_could_trap_p): Handle VIEW_CONVERT_EXPR.
>
>
> --
> Eric Botcazou
>
>
More information about the Gcc-patches
mailing list