Go to file
Jason Merrill 20b06addf9 N3778: Sized Deallocation
N3778: Sized Deallocation
gcc/c-family/
	* c.opt (-fsized-deallocation, -Wc++14-compat): New.
	(-Wsized-deallocation): New.
	* c-opts.c (c_common_post_options): -fsized-deallocation defaults
	to on in C++14 and up.
gcc/cp/
	* call.c (non_placement_deallocation_fn_p): A global sized
	operator delete is not a usual deallocation function until C++14.
	(build_op_delete_call): Choose the global sized op delete if we
	know the size.
	* cp-tree.h: Declare non_placement_deallocation_fn_p.
	(enum cp_tree_index): Remove CPTI_GLOBAL_DELETE_FNDECL.
	(global_delete_fndecl): Remove.
	* decl.c (cxx_init_decl_processing): Also declare sized op deletes.
	(grok_op_properties): Warn about sized dealloc without the flag.
	* init.c (build_builtin_delete_call): Remove.
	(build_vec_delete_1, build_delete): Don't call it.
	* decl2.c (maybe_warn_sized_delete): New.
	(cp_write_global_declarations): Call it.
libstdc++-v3/
	* libsupc++/del_ops.cc: New.
	* libsupc++/del_opvs.cc: New.
	* libsupc++/Makefile.am: Add them.
	* libsupc++/Makefile.in: Regenerate.
	* config/abi/pre/gnu.ver: Export _ZdlPvm and _ZdaPvm.

From-SVN: r218755
2014-12-15 13:31:40 -05:00
boehm-gc Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
config isl.m4: Don't pass -DCLOOG_INT_GMP on islinc. 2014-12-04 08:45:33 +00:00
contrib Adjust the comment in contrib/download_prerequisties. 2014-12-12 03:23:16 +00:00
fixincludes server.c (server_setup): Check return value of getcwd and in case of error set buff[0] to 0. 2014-12-15 09:10:41 +01:00
gcc N3778: Sized Deallocation 2014-12-15 13:31:40 -05:00
gnattools Makefile.in (TOOLS_FLAGS_TO_PASS_CROSS): Robustify. 2014-02-23 16:30:11 +00:00
include xvasprintf.c: New file. 2014-12-11 09:15:37 +01:00
INSTALL README: Do not mention CVS. 2014-10-12 15:05:28 +00:00
intl
libada Makefile.in: Add CFLAGS_FOR_TARGET to GNATLIBCFLAGS_FOR_C. 2014-08-12 19:47:09 +00:00
libatomic Add load of target-utils.exp to libatomic, libitm, libvtv, libgo testsuite drivers 2014-12-12 12:00:01 +00:00
libbacktrace Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libcc1 Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libcilkrts Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libcpp xvasprintf.c: New file. 2014-12-11 09:15:37 +01:00
libdecnumber Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
libffi Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libgcc Commit missing part of patch. 2014-12-10 16:14:36 -05:00
libgfortran Add support for a minimal version of libgfortran for accelerator targets. 2014-11-28 17:39:15 +00:00
libgo re PR go/61258 (gccgo: assertion failure go-map-delete.c:37 [GoSmith]) 2014-12-13 01:58:46 +00:00
libgomp [libgomp][testsuite] Explicitly include target-utils.exp (fix libgomp testsuite ERROR) 2014-12-12 10:31:44 +00:00
libiberty xvasprintf.c: New file. 2014-12-11 09:15:37 +01:00
libitm Add load of target-utils.exp to libatomic, libitm, libvtv, libgo testsuite drivers 2014-12-12 12:00:01 +00:00
libjava Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libobjc Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
liboffloadmic [PATCH 3/4] OpenMP 4.0 offloading to Intel MIC: libgomp plugin. 2014-11-13 14:05:49 +00:00
libquadmath Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libsanitizer Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libssp Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
libstdc++-v3 N3778: Sized Deallocation 2014-12-15 13:31:40 -05:00
libvtv Add load of target-utils.exp to libatomic, libitm, libvtv, libgo testsuite drivers 2014-12-12 12:00:01 +00:00
lto-plugin lto-wrapper.c (compile_offload_image): Start processing in_argv from 0 instead of 1. 2014-12-09 22:44:16 +00:00
maintainer-scripts Add svn:executable property for generate_libstdcxx_web_docs. 2014-10-30 11:11:38 +01:00
zlib Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
.dir-locals.el * .dir-locals.el: Add. 2013-10-16 18:25:31 +00:00
.gitignore Local Vim config with GNU formatting. 2014-12-09 13:45:47 +00:00
ABOUT-NLS
ChangeLog Build machinery cleanup. 2014-12-15 11:54:43 +01:00
ChangeLog.jit Merger of dmalcolm/jit branch from git 2014-11-11 21:55:52 +00:00
ChangeLog.tree-ssa
compile Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
config-ml.in * config-ml.in: Robustify ac_configure_args parsing. 2014-06-13 16:32:29 +02:00
config.guess Update config.{sub,guess} from upstream repo 2014-11-15 23:44:29 +00:00
config.rpath
config.sub Update config.{sub,guess} from upstream repo 2014-11-15 23:44:29 +00:00
configure Build machinery cleanup. 2014-12-15 11:54:43 +01:00
configure.ac Build machinery cleanup. 2014-12-15 11:54:43 +01:00
COPYING
COPYING3
COPYING3.LIB
COPYING.LIB
COPYING.RUNTIME
depcomp Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
install-sh Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
libtool-ldflags re PR sanitizer/56781 (boostrap-asan failure: fixincl fails to link (missing -lasan)) 2014-04-17 14:23:28 +02:00
libtool.m4 Always use PIC option with -shared in libtool 2014-11-21 08:49:17 -08:00
lt~obsolete.m4
ltgcc.m4
ltmain.sh Ensure libgcc_s unwinder is always used on 64-bit Solaris 10+/x86 (PR target/59788) 2014-02-04 09:31:38 +00:00
ltoptions.m4
ltsugar.m4
ltversion.m4
MAINTAINERS Added myself to Write After Approval list 2014-12-08 14:12:23 -06:00
Makefile.def Makefile.def: Make more dependent on mpfr, mpc and isl. 2014-11-26 20:48:24 +01:00
Makefile.in re PR bootstrap/64023 (r216964 breaks bootstrap on darwin when using gcc as the bootstrap compiler.) 2014-12-13 12:24:37 +01:00
Makefile.tpl re PR bootstrap/64023 (r216964 breaks bootstrap on darwin when using gcc as the bootstrap compiler.) 2014-12-13 12:24:37 +01:00
missing Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
mkdep
mkinstalldirs Update from upstream Automake files. 2014-11-16 14:07:13 +00:00
move-if-change Update move-if-change from gnulib 2014-11-16 16:12:44 +00:00
README * README: Document use of ranges of years in copyright notices. 2012-07-16 15:01:34 +01:00
symlink-tree
ylwrap Update from upstream Automake files. 2014-11-16 14:07:13 +00:00

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.