gcc/libstdc++-v3/testsuite
Jonathan Wakely 2e023647c8 PR libstdc++/85632 fix wraparound in filesystem::space
On 32-bit targets any values over 4GB would wrap and produce the wrong
result.

	PR libstdc++/85632 use uintmax_t for arithmetic
	* src/filesystem/ops.cc (experimental::filesystem::space): Perform
	arithmetic in result type.
	* src/filesystem/std-ops.cc (filesystem::space): Likewise.
	* testsuite/27_io/filesystem/operations/space.cc: Check total capacity
	is greater than free space.
	* testsuite/experimental/filesystem/operations/space.cc: New.

From-SVN: r259901
2018-05-03 19:58:00 +01:00
..
17_intro
18_support PR libstdc++/84773 use aligned alloc functions for FreeBSD and MinGW cross-compilers 2018-03-12 22:52:16 +00:00
19_diagnostics
20_util Add tests for std::remove_cvref 2018-05-03 16:12:19 +01:00
21_strings PR libstdc++/84087 add default arguments to basic_string members (LWG 2268) 2018-05-03 16:01:20 +01:00
22_locale
23_containers deque.tcc (deque<>::_M_assign_aux): Cast to void to ensure overloaded comma not used. 2018-05-02 19:51:33 +00:00
24_iterators
25_algorithms
26_numerics PR libstdc++/83860 avoid dangling references in valarray closure types 2018-05-02 17:41:46 +01:00
27_io PR libstdc++/85632 fix wraparound in filesystem::space 2018-05-03 19:58:00 +01:00
28_regex
29_atomics
30_threads PR libstdc++/84535 constrain std::thread constructor 2018-05-03 15:08:36 +01:00
abi
backward Remove duplicate function call in test 2018-05-02 17:27:01 +01:00
config
data
decimal
experimental PR libstdc++/85632 fix wraparound in filesystem::space 2018-05-03 19:58:00 +01:00
ext
lib
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters printers.py (NodeIteratorPrinter): New. 2018-03-08 06:26:15 +00:00
libstdc++-xmethods
performance
special_functions
tr1
tr2
util
Makefile.am
Makefile.in