fix Issue 11925 - ICE in CompoundStatement::semantic