aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2024-07-25 13:25:32 +0100
committerThomas Koenig <tkoenig@gcc.gnu.org>2024-07-28 19:05:57 +0200
commit36087238da0f9e600883f0d108574933d530e529 (patch)
treecee1974463f70763c63272331a47ab4cadb23e32 /gcc/doc
parent1a8585acd6bb9a09edcde3ca746f58fd421f39c4 (diff)
downloadgcc-36087238da0f9e600883f0d108574933d530e529.zip
gcc-36087238da0f9e600883f0d108574933d530e529.tar.gz
gcc-36087238da0f9e600883f0d108574933d530e529.tar.bz2
rtl-ssa: Define INCLUDE_ARRAY
g:72fbd3b2b2a497dbbe6599239bd61c5624203ed0 added a use of std::array without explicitly forcing <array> to be included. That didn't cause problems in my local builds but understandably did for some people. gcc/ * doc/rtl.texi: Document the need to define INCLUDE_ARRAY before including rtl-ssa.h. * rtl-ssa.h: Likewise (in comment). * config/aarch64/aarch64-cc-fusion.cc: Add INCLUDE_ARRAY. * config/aarch64/aarch64-early-ra.cc: Likewise. * config/riscv/riscv-avlprop.cc: Likewise. * config/riscv/riscv-vsetvl.cc: Likewise. * fwprop.cc: Likewise. * late-combine.cc: Likewise. * pair-fusion.cc: Likewise. * rtl-ssa/accesses.cc: Likewise. * rtl-ssa/blocks.cc: Likewise. * rtl-ssa/changes.cc: Likewise. * rtl-ssa/functions.cc: Likewise. * rtl-ssa/insns.cc: Likewise. * rtl-ssa/movement.cc: Likewise.
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/rtl.texi1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/doc/rtl.texi b/gcc/doc/rtl.texi
index a1ede41..0cb36aa 100644
--- a/gcc/doc/rtl.texi
+++ b/gcc/doc/rtl.texi
@@ -4405,6 +4405,7 @@ A pass that wants to use the RTL SSA form should start with the following:
@smallexample
#define INCLUDE_ALGORITHM
#define INCLUDE_FUNCTIONAL
+#define INCLUDE_ARRAY
#include "config.h"
#include "system.h"
#include "coretypes.h"