re PR c++/70266 (ICE on invalid code on x86_64-linux-gnu: unexpected expression ...
authorPaolo Carlini <paolo.carlini@oracle.com>
Sun, 5 Mar 2017 17:13:16 +0000 (17:13 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Sun, 5 Mar 2017 17:13:16 +0000 (17:13 +0000)
commitd8b4baeb45c2727156e6d14e1dee16e078c0a727
treed591bbf3880cbf38688f87eef1554baae652052a
parentef78bc3c0b9d23b3decd8b6439c99a025ebc8f28
re PR c++/70266 (ICE on invalid code on x86_64-linux-gnu: unexpected expression ‘foo’ of kind overload)

/cp
2017-03-05  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/70266
* except.c (build_must_not_throw_expr): Perform the implicit
conversions on the condition.

/testsuite
2017-03-05  Paolo Carlini  <paolo.carlini@oracle.com>

PR c++/70266
* g++.dg/tm/pr70266.C: New.

From-SVN: r245901
gcc/cp/ChangeLog
gcc/cp/except.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/tm/pr70266.C [new file with mode: 0644]