diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2019-12-20 17:10:18 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2019-12-20 17:10:18 +0000 |
commit | 7770bd7e9a889532b1970f372f3566fe86b13f09 (patch) | |
tree | f72d4d17ca34785016a26d1269e3bedb242046f4 /gcc | |
parent | 9260fb066b7ed0b237a3300e05fca9bffe018c6b (diff) | |
download | gcc-7770bd7e9a889532b1970f372f3566fe86b13f09.zip gcc-7770bd7e9a889532b1970f372f3566fe86b13f09.tar.gz gcc-7770bd7e9a889532b1970f372f3566fe86b13f09.tar.bz2 |
libstdc++: Add inline to maybe-constexpr functions (PR 92927)
Originally these functions were always inline. I changed them in r277342
to be always constexpr, then in r277588 changed them to be constexpr for
C++14, but I didn't restore the 'inline' for C++11. That leads to linker
errors when libstdc++.so is built unoptimized, because those functions
don't get instantiated in src/c++11/string-inst.o
PR libstdc++/92927
* include/bits/alloc_traits.h (__alloc_on_copy, __alloc_on_move)
(__alloc_on_swap): Add inline specifier.
From-SVN: r279656
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions