Evolution of and high-energy emission from GHz-peaked spectrum sources