Go to file
Jonathan Wakely de802e4736 libstdc++: Add valid range checks to std::span constructors [PR98421]
Signed-off-by: Jonathan Wakely <jwakely@redhat.com>

libstdc++-v3/ChangeLog:

	PR libstdc++/98421
	* include/std/span (span(Iter, size_type), span(Iter, Iter)):
	Add valid range checks.
	* testsuite/23_containers/span/cons_1_assert_neg.cc: New test.
	* testsuite/23_containers/span/cons_2_assert_neg.cc: New test.

(cherry picked from commit ef7becc9c8)
2022-08-03 11:53:50 +01:00
config Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
contrib Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
fixincludes Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
gcc Daily bump. 2022-08-03 00:17:42 +00:00
gnattools Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
gotools Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
include Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
INSTALL
intl Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libada Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libatomic Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libbacktrace Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libcc1 Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libcpp Daily bump. 2022-08-03 00:17:42 +00:00
libdecnumber Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libffi Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libgcc Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libgfortran Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libgo libgo: don't include <linux/fs.h> when building gen-sysinfo.go 2022-07-21 14:04:38 +02:00
libgomp Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libhsail-rt Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libiberty Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libitm Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libobjc Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
liboffloadmic Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libphobos Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libquadmath Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libsanitizer libsanitizer: cherry-pick 9cf13067cb5088626ba7 from upstream 2022-07-21 14:04:37 +02:00
libssp Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
libstdc++-v3 libstdc++: Add valid range checks to std::span constructors [PR98421] 2022-08-03 11:53:50 +01:00
libvtv Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
lto-plugin Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
maintainer-scripts Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
zlib Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
.dir-locals.el
.gitattributes Add *.md diff=md. 2020-01-15 14:29:53 +01:00
.gitignore Add .clang-tidy to git ignored. 2020-11-25 09:00:08 +01:00
ABOUT-NLS
ar-lib Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
ChangeLog Update ChangeLog and version files for release 2022-06-28 08:37:18 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
compile
config-ml.in MSP430: Add -fno-exceptions multilib 2019-12-11 19:19:50 +00:00
config.guess Update config.sub and config.guess. 2019-09-09 11:14:32 +02:00
config.rpath
config.sub Update config.sub and config.guess. 2019-09-09 11:14:32 +02:00
configure Darwin, configury : Allow for specification and detection of dsymutil. 2022-05-29 20:05:24 +01:00
configure.ac Darwin, configury : Allow for specification and detection of dsymutil. 2022-05-29 20:05:24 +01:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp
install-sh
libtool-ldflags
libtool.m4 Darwin : Update libtool and dependencies for Darwin20 [PR97865] 2021-01-03 09:15:55 +00:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh Do not use HAVE_DOS_BASED_FILE_SYSTEM for Cygwin. 2020-04-17 09:22:51 +02:00
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS MAINTAINERS: add myself for write after approval 2020-04-22 09:39:44 +02:00
Makefile.def Darwin, configury : Allow for specification and detection of dsymutil. 2022-05-29 20:05:24 +01:00
Makefile.in Darwin, configury : Allow for specification and detection of dsymutil. 2022-05-29 20:05:24 +01:00
Makefile.tpl Darwin, configury : Allow for specification and detection of dsymutil. 2022-05-29 20:05:24 +01:00
missing
mkdep
mkinstalldirs
move-if-change
multilib.am Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
README
symlink-tree
test-driver Update GCC to autoconf 2.69, automake 1.15.1 (PR bootstrap/82856). 2018-10-31 17:03:16 +00:00
ylwrap

This directory contains the GNU Compiler Collection (GCC).

The GNU Compiler Collection is free software.  See the files whose
names start with COPYING for copying permission.  The manuals, and
some of the runtime libraries, are under different terms; see the
individual source files for details.

The directory INSTALL contains copies of the installation information
as HTML and plain text.  The source of this information is
gcc/doc/install.texi.  The installation information includes details
of what is included in the GCC sources and what files GCC installs.

See the file gcc/doc/gcc.texi (together with other files that it
includes) for usage and porting information.  An online readable
version of the manual is in the files gcc/doc/gcc.info*.

See http://gcc.gnu.org/bugs/ for how to report bugs usefully.

Copyright years on GCC source files may be listed using range
notation, e.g., 1987-2012, indicating that every year in the range,
inclusive, is a copyrightable year that could otherwise be listed
individually.