gcc code attributes on Solaris, AIX, and older gcc