The following fails with GCC=gcc-3.1. See logfile emerge /usr/portage/app-text/ghostscript/ghostscript-7.05.3-r1.ebuild >/tmp/gs.log 2>&1
Created attachment 2233 [details] logfile
A re-install of gcc-3.1.1 solved the issue