Several methods have been proposed for the evaluation of attributes during LR parsing. Some of these methods are based on the construction of semantic expressions for computing the values of inherited attributes, associated with states of the LR-automaton. In these methods, the semantic expressions are constructed and evaluated separately. This may lead to situations, where some computations are repeated. This paper exposes the redundant computations in these methods, and an optimization is introduced to avoid them.