gcc/libphobos/testsuite
Iain Buclaw c0dbfbd763 libphobos: Add --enable-libphobos-checking configure option
As GDCFLAGS is overriden by the top-level make file with '-O2 -g',
libphobos ends up always being built with all contracts, invariants, and
asserts compiled in.  This adds a new configurable that defaults to omit
compiling any run-time checks into the library using '-frelease'.

Other choices either set the flags '-fno-release', enabling all run-time
checks, or '-fassert', which only compiles in asserts.

The omission of compiling in contracts results in a smaller library
size, with faster build times.

libphobos/ChangeLog:

	PR d/94305
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* configure.ac: Add --enable-libphobos-checking and substitute
	CHECKING_DFLAGS.  Remove -frelease from GDCFLAGS.
	* libdruntime/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
	* libdruntime/Makefile.in: Regenerate.
	* src/Makefile.am: Add CHECKING_DFLAGS to AM_DFLAGS.
	* src/Makefile.in: Regenerate.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/testsuite_flags.in: Add -fno-release -funittest to
	--gdcflags.
2020-04-09 00:46:39 +02:00
..
config Update copyright years. 2020-01-01 12:51:42 +01:00
lib Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.aa Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.allocations Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.cycles Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.druntime Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.druntime_shared Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.exceptions Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.hash Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.init_fini Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.phobos Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.phobos_shared Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.shared Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.thread Update copyright years. 2020-01-01 12:51:42 +01:00
libphobos.typeinfo Update copyright years. 2020-01-01 12:51:42 +01:00
Makefile.am Update copyright years. 2020-01-01 12:51:42 +01:00
Makefile.in libphobos: Add --enable-libphobos-checking configure option 2020-04-09 00:46:39 +02:00
testsuite_flags.in libphobos: Add --enable-libphobos-checking configure option 2020-04-09 00:46:39 +02:00