diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2018-07-04 10:03:18 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2018-07-04 10:03:18 +0100 |
commit | e9029d55f24c824698de277abc1961e4673512db (patch) | |
tree | 8ed81f56279a8f78b37a8d052c88e432d1a44e8c /gcc/tree-vrp.c | |
parent | 90fc44ecfa4741a055ec3d35722e2624c2231f98 (diff) | |
download | gcc-e9029d55f24c824698de277abc1961e4673512db.zip gcc-e9029d55f24c824698de277abc1961e4673512db.tar.gz gcc-e9029d55f24c824698de277abc1961e4673512db.tar.bz2 |
PR libstdc++/86398 fix std::is_trivially_constructible regression
The intrinsic doesn't check for allowed conversions between scalar
types, so restore the std::is_constructible check.
Also make some trivial whitespace changes.
PR libstdc++/86398
* include/std/type_traits (is_trivially_constructible): Check
is_constructible before __is_trivially_constructible.
* testsuite/20_util/is_trivially_constructible/value.cc: Add more
tests, including negative cases.
* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Use
zero for dg-error lineno.
* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
Likewise.
From-SVN: r262379
Diffstat (limited to 'gcc/tree-vrp.c')
0 files changed, 0 insertions, 0 deletions