aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2codeview.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-06-19 13:38:58 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2024-06-25 23:38:16 +0100
commit7d413a87f15562b9ec21f462d565522b45e57c3c (patch)
treeb115c4bfcf2da656dbb166f94afd3180ac172ff4 /gcc/dwarf2codeview.cc
parent038144534a683d4248c9b98a7110a59b305f124a (diff)
downloadgcc-7d413a87f15562b9ec21f462d565522b45e57c3c.zip
gcc-7d413a87f15562b9ec21f462d565522b45e57c3c.tar.gz
gcc-7d413a87f15562b9ec21f462d565522b45e57c3c.tar.bz2
libstdc++: Simplify std::valarray initialization helpers
Dispatching to partial specializations doesn't really seem to offer much benefit here. The __is_trivial(T) condition is a compile-time constant so the untaken branches are dead code and don't cost us anything. libstdc++-v3/ChangeLog: * include/bits/valarray_array.h (_Array_default_ctor): Remove. (__valarray_default_construct): Inline it into here. (_Array_init_ctor): Remove. (__valarray_fill_construct): Inline it into here. (_Array_copy_ctor): Remove. (__valarray_copy_construct(const T*, const T*, T*)): Inline it into here. (__valarray_copy_construct(const T*, size_t, size_t, T*)): Use _GLIBCXX17_CONSTEXPR for constant condition.
Diffstat (limited to 'gcc/dwarf2codeview.cc')
0 files changed, 0 insertions, 0 deletions