[gcc] revert all gcc changes