Go to file
Jonathan Wakely 329c0f891a PR libstdc++/89345 Only define std::destroying_delete for C++2a
Clang defines the __cpp_impl_destroying_delete macro unconditionally, so
that the feature is supported whenever the library type is defined. This
is incompatible with the current definition in libstdc++ because we use
constexpr and inline variables, which will give an error for older -std
modes.

This patch defines the destroying_delete_t type and destroying_delete
variable independently of the __cpp_impl_destroying_delete macro, but
only for C++2a (because the names aren't reserved for previous
standards). The __cpp_lib_destroying_delete macro is only defined when
both the library type and compiler macro are defined (i.e. when the type
can actually be used as intended).

	PR libstdc++/89345
	* include/std/version [__cpp_impl_destroying_delete]
	(__cpp_lib_destroying_delete): Only define for C++2a and later.
	* libsupc++/new [__cpp_impl_destroying_delete]
	(__cpp_lib_destroying_delete): Likewise.
	(destroying_delete_t, destroying_delete): Likewise, but define even
	when __cpp_impl_destroying_delete is not defined.
	* testsuite/18_support/destroying_delete.cc: New test.

From-SVN: r268856
2019-02-13 22:13:45 +00:00
INSTALL
config
contrib contrib/dg-extract-results: Handle timeout warnings 2019-02-04 09:55:00 +01:00
fixincludes
gcc sse.md (vec_set<VI4F_256_512:mode>_0): Use nonimmediate_operand as operand 2 predicate. 2019-02-13 22:51:41 +01:00
gnattools
gotools re PR go/89193 ("make distclean" leaves stuff in gotools/) 2019-02-13 00:10:06 +00:00
include Fix splay tree KEY leak detected in GDB test gdb.base/macscp.exp 2019-02-12 13:02:48 +00:00
intl
libada Update copyright years. 2019-01-01 13:31:55 +01:00
libatomic Update copyright years. 2019-01-01 13:31:55 +01:00
libbacktrace [libbacktrace] Handle bsearch with NULL base in dwarf_lookup_pc 2019-02-12 14:00:59 +00:00
libcc1 Update copyright years. 2019-01-01 13:31:55 +01:00
libcpp linemap_line_start: protect against location_t overflow (PR lto/88147) 2019-02-12 01:09:31 +00:00
libdecnumber Update copyright years. 2019-01-01 13:31:55 +01:00
libffi
libgcc t-linux: Add -mfp-rounding-mode=d to HOST_LIBGCC2_CFLAGS. 2019-01-31 21:49:02 +01:00
libgfortran * libgfortran/ChangeLog: Better commit message for my last commit. 2019-01-31 23:59:36 +01:00
libgo syscall: don't assume that WIFCONTINUED is defined 2019-02-12 21:29:52 +00:00
libgomp re PR c++/88988 (ICE: Segmentation fault (in lookup_name_real_1)) 2019-01-31 00:28:53 +01:00
libhsail-rt Update copyright years. 2019-01-01 13:31:55 +01:00
libiberty Fix splay tree KEY leak detected in GDB test gdb.base/macscp.exp 2019-02-12 13:02:48 +00:00
libitm Update copyright years. 2019-01-01 13:31:55 +01:00
libobjc PR other/16615 [4/5] 2019-01-09 16:44:56 -05:00
liboffloadmic PR other/16615 [1/5] 2019-01-09 16:37:45 -05:00
libphobos libphobos: Fallback on UnwindBacktrace if LibBacktrace not defined. 2019-02-13 07:14:46 +00:00
libquadmath Update copyright years. 2019-01-01 13:31:55 +01:00
libsanitizer re PR sanitizer/89010 (Update URLs in libsanitizer/README.gcc) 2019-01-23 14:18:50 +01:00
libssp Update copyright years. 2019-01-01 13:31:55 +01:00
libstdc++-v3 PR libstdc++/89345 Only define std::destroying_delete for C++2a 2019-02-13 22:13:45 +00:00
libvtv Update copyright years. 2019-01-01 13:31:55 +01:00
lto-plugin Update copyright years. 2019-01-01 13:31:55 +01:00
maintainer-scripts
zlib Makefile.am (noinst_LTLIBRARIES): Rename libzgcj_convience.la to libz_convenience.la. 2019-01-21 17:23:58 +00:00
.dir-locals.el
.gitattributes
.gitignore
ABOUT-NLS
COPYING
COPYING.LIB
COPYING.RUNTIME
COPYING3
COPYING3.LIB
ChangeLog Add AMD GCN maintainers 2019-02-11 11:31:43 +00:00
ChangeLog.jit
ChangeLog.tree-ssa
MAINTAINERS Add AMD GCN maintainers 2019-02-11 11:31:43 +00:00
Makefile.def
Makefile.in Lower sampling rate for autofdo bootstrap 2019-01-15 03:49:45 +00:00
Makefile.tpl Lower sampling rate for autofdo bootstrap 2019-01-15 03:49:45 +00:00
README
ar-lib
compile
config-ml.in
config.guess Update config.guess, config.sub (PR target/88535) 2019-01-03 11:28:27 +00:00
config.rpath
config.sub Update config.guess, config.sub (PR target/88535) 2019-01-03 11:28:27 +00:00
configure GCN back-end config 2019-01-17 12:34:28 +00:00
configure.ac GCN back-end config 2019-01-17 12:34:28 +00:00
depcomp
install-sh
libtool-ldflags
libtool.m4
ltgcc.m4
ltmain.sh
ltoptions.m4
ltsugar.m4
ltversion.m4
lt~obsolete.m4
missing
mkdep
mkinstalldirs
move-if-change
multilib.am
symlink-tree
test-driver
ylwrap

README

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.