cpp rtlr forward phase implemented