This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Plug obvious hole in tree_could_trap_p


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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]