aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2022-03-01 09:33:21 +0000
committerJonathan Wakely <jwakely@redhat.com>2022-03-01 15:25:39 +0000
commitad66b03b3c84786e73e73f09be19977b8f3c4ea3 (patch)
tree008ecabb16db8ea0aa799ffa22bc763646041ae4 /gcc
parent16ced9c654e39e75b8de14802a173a2c7aff4e47 (diff)
downloadgcc-ad66b03b3c84786e73e73f09be19977b8f3c4ea3.zip
gcc-ad66b03b3c84786e73e73f09be19977b8f3c4ea3.tar.gz
gcc-ad66b03b3c84786e73e73f09be19977b8f3c4ea3.tar.bz2
libstdc++: Fix -Wmaybe-uninitialized false positive [PR103984]
This fixes a false positive warning seen with LTO: 12/bits/regex_compiler.tcc:443:32: error: '__last_char._M_char' may be used uninitialized [-Werror=maybe-uninitialized] Given that the std::regex code is not very efficient anyway, the overhead of initializing this byte should be minimal. libstdc++-v3/ChangeLog: PR middle-end/103984 * include/bits/regex_compiler.h (_BracketMatcher::_M_char): Use default member initializer.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions