re PR c/18867 (ICE on invalid switch quantity)