All compilers accumulate data at the switch keyword, but they vary on whether they accumulate data for all passes through a switch statement at the end of the switch statement. The way they accumulate data varies as well.
Some compilers accumulate data at the last executable statement of a switch statement:
Some compilers accumulate data at the trailing } of the switch statement:
Some compilers do not accumulate data at the end of the switch statement: