]> git.ipfire.org Git - thirdparty/gcc.git/commit
Avoid -Woverflow warning in __numeric_limits_integer
authorJonathan Wakely <jwakely@redhat.com>
Fri, 3 May 2019 19:13:31 +0000 (20:13 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 3 May 2019 19:13:31 +0000 (20:13 +0100)
commit56e5b093de436686effacab1f3211f8695be39a6
tree48d119952209a7662663077dda354d3fbca36916
parent16df7038715e9644dc3e23984439731db4333e57
Avoid -Woverflow warning in __numeric_limits_integer

This is the same fix as was done for std::numeric_limits in r183905.

PR libstdc++/52119
* include/ext/numeric_traits.h (__glibcxx_min): Avoid integer
overflow warning with -Wpedantic -Wsystem-headers.

From-SVN: r270858
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/numeric_traits.h