[PATCH] c++, libstdc++: new compiler built in is_scalar, use built-in is_scalar in libstdc++ std::is_scalar
Have implemented a new compiler built-in for the scalar types(is_scalar). Changed the libstdc++ std::is_scalar implementation to use this new compiler built_in when available. tested on x86_64-redhat-linux. Compared test results and configured with --enable-bootstrap gcc/cp/ChangeLog:
[PATCH] compiler built in is_scalar, use built-in is_scalar in libstdc++ std::is_scalar
From: Berke Signed-off-by: Berke Yavas --- gcc/cp/constraint.cc| 3 +++ gcc/cp/cp-trait.def | 1 + gcc/cp/cxx-pretty-print.cc | 3 ++- gcc/cp/parser.cc| 1 + gcc/cp/semantics.cc