The gcc ebuild specifically drops all CFLAGS (line 133 of the ebuild) and pulls out the arch from the CFLAGS prior to doing so (line 124 of the ebuild).
I also get "illegal instruction" on anything gcc related if I use the ebuild of the pentium, even as simple as gcc -v blows up