]> git.ipfire.org Git - thirdparty/gcc.git/commit
rtl-ssa: Define INCLUDE_ARRAY
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 25 Jul 2024 12:25:32 +0000 (13:25 +0100)
committerThomas Koenig <tkoenig@gcc.gnu.org>
Sun, 28 Jul 2024 17:05:57 +0000 (19:05 +0200)
commit36087238da0f9e600883f0d108574933d530e529
treecee1974463f70763c63272331a47ab4cadb23e32
parent1a8585acd6bb9a09edcde3ca746f58fd421f39c4
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.
15 files changed:
gcc/config/aarch64/aarch64-cc-fusion.cc
gcc/config/aarch64/aarch64-early-ra.cc
gcc/config/riscv/riscv-avlprop.cc
gcc/config/riscv/riscv-vsetvl.cc
gcc/doc/rtl.texi
gcc/fwprop.cc
gcc/late-combine.cc
gcc/pair-fusion.cc
gcc/rtl-ssa.h
gcc/rtl-ssa/accesses.cc
gcc/rtl-ssa/blocks.cc
gcc/rtl-ssa/changes.cc
gcc/rtl-ssa/functions.cc
gcc/rtl-ssa/insns.cc
gcc/rtl-ssa/movement.cc