libstdc++-v3/libsupc++/eh_call.cc: Avoid warning with -fno-exceptions.
authorChristophe Lyon <christophe.lyon@linaro.org>
Fri, 11 Sep 2020 09:21:55 +0000 (09:21 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Fri, 11 Sep 2020 13:00:23 +0000 (13:00 +0000)
commitfb00a9fc397c5fc487218f7a84069837460f88ee
tree7e84838cb60608f0ebcaa0eca469f120374172be
parentb32d2ea8c29203519fbd9c5e90b06941e7cd75f3
libstdc++-v3/libsupc++/eh_call.cc: Avoid warning with -fno-exceptions.

When building with -fno-exceptions, __throw_exception_again expands to
nothing, causing a "suggest braces around empty body in an 'if'
statement" warning.

This patch adds braces, like what was done in eh_personality.cc in svn
r193295 (git g:54ba39f599fc2f3d59fd3cd828a301ce9b731a20)

2020-09-11  Torbjörn SVENSSON  <torbjorn.svensson@st.com>
    Christophe Lyon  <christophe.lyon@linaro.org>

libstdc++-v3/
* libsupc++/eh_call.cc: Avoid warning with -fno-exceptions.
libstdc++-v3/libsupc++/eh_call.cc