aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl-ssa/changes.cc
diff options
context:
space:
mode:
authorRichard Sandiford <richard.sandiford@arm.com>2020-12-17 00:15:02 +0000
committerRichard Sandiford <richard.sandiford@arm.com>2020-12-17 00:15:02 +0000
commitd4b520d88ee5b4cd446ef001c8fdddd9af8d681c (patch)
tree6e56b15fd99731ff3026a7fd95bc6858e076d40c /gcc/rtl-ssa/changes.cc
parent9a0882ef6a265553c8adcc24ce9059546e84b99b (diff)
downloadgcc-d4b520d88ee5b4cd446ef001c8fdddd9af8d681c.zip
gcc-d4b520d88ee5b4cd446ef001c8fdddd9af8d681c.tar.gz
gcc-d4b520d88ee5b4cd446ef001c8fdddd9af8d681c.tar.bz2
Add a cut-down version of std::span (array_slice)
A later patch wants to be able to pass around subarray views of an existing array. The standard class to do that is std::span, but it's a C++20 thing. This patch just adds a cut-down version of it. The intention is just to provide what's currently needed. gcc/ * vec.h (array_slice): New class.
Diffstat (limited to 'gcc/rtl-ssa/changes.cc')
0 files changed, 0 insertions, 0 deletions