https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53348
--- Comment #8 from David Edelsohn <dje at gcc dot gnu.org> ---
Patches are reviewed on gcc-patches mailinglist, not in Bugzilla
> 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
Prerequisites for GCC explicitly states that POSIX or SVR4 awk is required, so
I don't think that this work-around would be accepted. For example, you can
install GNU Awk.
>
> ++ gcc/config/rs6000/rs6000.c
>
> * legitimate_indirect_address_p() was coming up as undefined when declared
> with the "inline" keyword
This already has been changed.
> * 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)
The fixincludes changes are the most plausible ones.