[Fortran f951, C++14] Fix trans-common.c compilation failure on AIX

Richard Biener richard.guenther@gmail.com
Fri Jul 3 08:32:00 GMT 2015


On Thu, Jul 2, 2015 at 10:49 PM, Jakub Jelinek <jakub@redhat.com> wrote:
> On Thu, Jul 02, 2015 at 04:47:13PM -0400, David Edelsohn wrote:
>> I can change the patch to include it after system.h, if that is
>> preferred.  That order also works on AIX.
>
> If including it right after system.h works, it is preapproved.

Note that after config.h is generally better (considering all the #poison
stuff in system.h).

Not using std::map but GCCs own hash_map would be prefered though.
(otherwise at some point we'll end up including all of libstdc++ from
system.h given host compiler weirdness and workarounds for include
stuff - which is what system.h is for)

Richard.

>         Jakub



More information about the Gcc-patches mailing list