r263423 - in /branches/gcc-6-branch/libstdc++-v...

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Aug 8 15:40:00 GMT 2018


Author: redi
Date: Wed Aug  8 15:40:57 2018
New Revision: 263423

URL: https://gcc.gnu.org/viewcvs?rev=263423&root=gcc&view=rev
Log:
LWG 3050 Fix cv-qualification of convertibility constraints

Backport from mainline
2018-06-18  Jonathan Wakely  <jwakely@redhat.com>

	* include/std/chrono (duration, operator*, operator/, operator%): Use
	const-qualified type as source type in is_convertible constraints.
	* testsuite/20_util/duration/arithmetic/dr3050.cc: New.
	* testsuite/20_util/duration/cons/dr3050.cc: New.
	* testsuite/20_util/duration/literals/range.cc: Rename to...
	* testsuite/20_util/duration/literals/range_neg.cc: Here. Adjust
	dg-error lineno.

Added:
    branches/gcc-6-branch/libstdc++-v3/testsuite/20_util/duration/cons/dr3050.cc
      - copied, changed from r263422, branches/gcc-6-branch/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
    branches/gcc-6-branch/libstdc++-v3/testsuite/20_util/duration/literals/range_neg.cc
      - copied, changed from r263422, branches/gcc-6-branch/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
Removed:
    branches/gcc-6-branch/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
Modified:
    branches/gcc-6-branch/libstdc++-v3/ChangeLog
    branches/gcc-6-branch/libstdc++-v3/include/std/chrono



More information about the Gcc-cvs mailing list