http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53348
--- Comment #7 from Daniel Richard G. <skunk at iskunk dot org> 2012-07-17 23:24:13 UTC --- Created attachment 27821 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27821 Patch against GCC SVN trunk Hi David, The attached patch is everything I've got so far to address issues in building GCC on AIX 4.3. This covers issues beyond this bug report, but I figured you'd rather take care of everything in one go. A walk-through of the changes: ++ gcc/opt-functions.awk * Escape "{" characters to not annoy older awk programs ++ gcc/config/rs6000/rs6000.c * legitimate_indirect_address_p() was coming up as undefined when declared with the "inline" keyword * ASM_WEAKEN_DECL() was coming up undefined, too, even though the call is in a section of code not actually used on this platform ++ fixincludes/tests/base/*.h * Updates to the test suite ++ fixincludes/inclhack.def * Fixinclude for the oddly-sized fast-integer types * Fixinclude for the broken PRIxNN macros in inttypes.h * Fixinclude for an incomplete PTHREAD_ONCE_INIT (breaks -Werror builds) * Tweaked the aix_pthread hack, as pthread.h has a tab character immediately after the "#define" on my system * Fixinclude for an strtof() declaration lacking a const keyword (bug #48009) Please let me know what you think.