]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000: Remove include of reload.h
authorSegher Boessenkool <segher@kernel.crashing.org>
Tue, 20 May 2025 22:01:30 +0000 (22:01 +0000)
committerSegher Boessenkool <segher@kernel.crashing.org>
Mon, 26 May 2025 02:20:26 +0000 (02:20 +0000)
As one of the last steps in removing old reload, I'll delete the reload.h
header file.  It would be a bit embarrassing if that stopped the target I am
responsible for from working, so let's prevent that.

We do not actually use anything from this header file (checked by building
with this patch, and make check has identical results as well), so it was
easy for our port.  Many other ports will be like this, but some will need
some adjustments.  I'll do cross builds of many ports before it is all over,
but it would be good if other ports tried to remove reload.h from their
includes as well :-)

    2025-06-26  Segher Boessenkool  <segher@kernel.crashing.org>

* config/rs6000/rs6000.cc: Remove include of reload.h .

gcc/config/rs6000/rs6000.cc

index 7ea37778103455d080d87f019f6a6be56dd2c848..7375c36e406d59441fe135ff0828d6247ff8ba4c 100644 (file)
@@ -55,7 +55,6 @@
 #include "output.h"
 #include "common/common-target.h"
 #include "langhooks.h"
-#include "reload.h"
 #include "sched-int.h"
 #include "gimplify.h"
 #include "gimple-iterator.h"