This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

r262412 - in /branches/gcc-7-branch/libstdc++-v...


Author: redi
Date: Wed Jul  4 13:59:51 2018
New Revision: 262412

URL: https://gcc.gnu.org/viewcvs?rev=262412&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-7-branch/libstdc++-v3/testsuite/20_util/duration/cons/dr3050.cc
      - copied, changed from r262411, branches/gcc-7-branch/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
    branches/gcc-7-branch/libstdc++-v3/testsuite/20_util/duration/literals/range_neg.cc
      - copied, changed from r262411, branches/gcc-7-branch/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
Removed:
    branches/gcc-7-branch/libstdc++-v3/testsuite/20_util/duration/literals/range.cc
Modified:
    branches/gcc-7-branch/libstdc++-v3/ChangeLog
    branches/gcc-7-branch/libstdc++-v3/include/std/chrono


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]