A wheel loader automatically adjusts the bucket angle with respect to the
ground. The wheel loader includes a hydraulic pump, a tilt cylinder and a
tilt valve, a detector which detects that the tilt cylinder is at a
control origin, a target setting device which sets a target value for the
length of the tilt cylinder, and a control device. The control device
calculates a required oil amount for the tilt cylinder to arrive from the
control origin to the target length, calculates an oil amount distributed
to the tilt cylinder after it has arrived at the control origin, and
stops the operation of the tilt cylinder when the distributed oil amount
reaches the required amount.