compilation-previous-error
compilation-previous-error is an interactive compiled Lisp function in `compile.el
'.
(compilation-previous-error N)
Move point to the previous error in the compilation buffer.
Prefix arg N says how many error messages to move backwards (or
forwards, if negative).
Does NOT find the source line like M-g p.