]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Reuse double overload of __convert_to_v if possible
authorJonathan Wakely <jwakely@redhat.com>
Mon, 24 Jul 2023 10:38:32 +0000 (11:38 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 17 Aug 2023 19:24:19 +0000 (20:24 +0100)
commitaad83d61d2e92b168688f7b6bd00b8604d11fc9f
treedd079ce056b9d61cae742429f9dda24cd22a9138
parent74c019b50b7724dd5ed7af640b6c0427383d48df
libstdc++: Reuse double overload of __convert_to_v if possible

For targets where double and long double have the same representation we
can reuse the same __convert_to_v code for both types. This will
slightly reduce the size of the compiled code in the library.

libstdc++-v3/ChangeLog:

* config/locale/generic/c_locale.cc (__convert_to_v): Reuse
double overload for long double if possible.
libstdc++-v3/config/locale/generic/c_locale.cc