except.c (build_noexcept_spec): Use build_converted_constant_bool_expr instead of...
authorMarek Polacek <polacek@redhat.com>
Fri, 12 Apr 2019 15:26:16 +0000 (15:26 +0000)
committerMarek Polacek <mpolacek@gcc.gnu.org>
Fri, 12 Apr 2019 15:26:16 +0000 (15:26 +0000)
commitcc3bae3dc2819726e3d3903937e65f4f8d4f2fd5
tree864969e72ddc518f28a9e2169f30fb7e76c7d348
parent01c9d999492e603b514485d4344cd2969dacdcda
except.c (build_noexcept_spec): Use build_converted_constant_bool_expr instead of perform_implicit_conversion_flags.

* except.c (build_noexcept_spec): Use build_converted_constant_bool_expr
instead of perform_implicit_conversion_flags.

* g++.dg/cpp0x/noexcept30.C: Tweak dg-error.
* g++.dg/cpp0x/pr86397-1.C: Likewise.
* g++.dg/cpp0x/pr86397-2.C: Likewise.

From-SVN: r270319
gcc/cp/ChangeLog
gcc/cp/except.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/noexcept30.C
gcc/testsuite/g++.dg/cpp0x/pr86397-1.C
gcc/testsuite/g++.dg/cpp0x/pr86397-2.C