The giant dipole resonance at high excitation energies