diff options
author | Christophe Lyon <christophe.lyon@linaro.org> | 2020-09-11 11:53:15 +0000 |
---|---|---|
committer | Christophe Lyon <christophe.lyon@linaro.org> | 2020-09-11 13:00:13 +0000 |
commit | b32d2ea8c29203519fbd9c5e90b06941e7cd75f3 (patch) | |
tree | ef722e7eb13d8ef640bca48d727352e9862214b7 /gcc/gcse.c | |
parent | 8d3767c30240c901a493d82d9d20f306b2f0152d (diff) | |
download | gcc-b32d2ea8c29203519fbd9c5e90b06941e7cd75f3.zip gcc-b32d2ea8c29203519fbd9c5e90b06941e7cd75f3.tar.gz gcc-b32d2ea8c29203519fbd9c5e90b06941e7cd75f3.tar.bz2 |
libstdc++-v3/include/bits/regex_error.h: Avoid warning with -fno-exceptions.
When building with -fno-exceptions, __GLIBCXX_THROW_OR_ABORT expands to
abort(), causing warnings:
unused parameter '__ecode'
unused parameter '__what'
This patch adds __attribute__((unused)) to avoid them.
2020-09-11 Torbjörn SVENSSON <torbjorn.svensson@st.com>
Christophe Lyon <christophe.lyon@linaro.org>
libstdc++-v3/
* include/bits/regex_error.h: Avoid warning with -fno-exceptions.
Diffstat (limited to 'gcc/gcse.c')
0 files changed, 0 insertions, 0 deletions