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?

Ciao!
Steven

Attachment: gimple_switch_verify.diff
Description: Binary data

Reply via email to