Only these versions have the patches for proper AIX support right now.
# Michael Haubenwallner <haubi@gentoo.org> (03 Mar 2017)
# Breaks (openssh, ...) because of PR target/65058
-=sys-devel/gcc-4.3*
-=sys-devel/gcc-4.4*
-=sys-devel/gcc-4.5*
-=sys-devel/gcc-4.6*
-=sys-devel/gcc-4.7*
>=sys-devel/gcc-4.8.5
# Michael Haubenwallner <haubi@gentoo.org> (14 Apr 2014)
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# Michael Haubenwallner <haubi@gentoo.org> (03 Mar 2017)
+# Only these versions have the patches for proper AIX support.
+~sys-devel/gcc-4.2.4
+~sys-devel/gcc-4.8.4
+
+# Michael Haubenwallner <haubi@gentoo.org> (14 Apr 2014)
+# Endless loop while compiling gcc-4.2.4 for yet unknown reason.
+~sys-devel/make-4.0
+
+# Fabian Groffen <grobian@gentoo.org> (04 Apr 2007)
+# This is the only linker for AIX
+-sys-devel/native-cctools