A method for producing or machining, by cutting, an identical set of teeth on each of a plurality of workpieces of a workpiece batch on one or more gear-cutting machine(s) having a gear-cutting tool(S), which has a set of teeth having rake faces (5) and having an axis of rotation, in rolling machining engagement, in which method, in the event that a deviation of a set of teeth from the tooth profile sought for said set of teeth is detected or expected, a countermeasure that counteracts said deviation is determined and the production/machining of additional workpieces of said workpiece batch is continued using the countermeasure,
- characterized in that the countermeasure is, at least in part, a change in the position (φ, τ) of the rake faces (5) relative to the axis of rotation of the tool, which change is brought about by means of grinding performed on the gear-cutting machine or at a grinding machine (140) that belongs to the machine group of the gear-cutting machine.