rs6000: clean up headers in rs6000.c and rs6000-call.c
commit9885183c08138752a954b68a3328e749976d8f93
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 2 Oct 2020 16:09:52 +0000 (2 12:09 -0400)
committerDavid Edelsohn <dje.gcc@gmail.com>
Fri, 2 Oct 2020 22:52:43 +0000 (2 18:52 -0400)
tree3fc912afd4617d9102cbed1aeefaf54bc3c52286
parent47f09ec9717058ada97be33bcbb23ceb6322ba61
rs6000: clean up headers in rs6000.c and rs6000-call.c

When Andrew Macleod investigated the recent rs6000 bootstrap failure,
he suggested a clean up of the headers in rs6000.c and rs6000-call.c.
It now is recommended to include ssa.h instead of the individual headers.
This also ensures that value-range.h is included and in the correct order
so that the tree-ssa-propagate.h inclusion of value-query.h and its
dependencies are satisfied.

Bootstrapped on powerpc-ibm-aix7.2.0.0 and powerpc64le-linux.

gcc/ChangeLog:

2020-10-02  David Edelsohn  <dje.gcc@gmail.com>
    Andrew MacLeod  <amacleod@redhat.com>

* config/rs6000/rs6000.c: Include ssa.h. Reorder some headers.
* config/rs6000/rs6000-call.c: Same.
gcc/config/rs6000/rs6000-call.c
gcc/config/rs6000/rs6000.c