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: [patch] Tighten GIMPLE_SWITCH verification


On Mon, May 7, 2012 at 1:28 PM, Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> Hello,
>
> When I moved the first bits of the switch lowering code from stmt.c, I
> didn't anticipate that the GIMPLE passes can sometimes perform
> transformations that break the rules the gimplifier uses while
> lowering SWITCH_EXPRs.
>
> The attached patch adds the expected rules to the GIMPLE_SWITCH verifier.
>
> Bootstrap&test running on powerpc64-unknown-linux-gnu. OK if it passes?

Ok!

Thanks,
Richard.

> Ciao!
> Steven


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