(compile_pattern_1): Don't declare val with CONST.