[gcc r15-7163] Optimize vector::operator[]

2025-01-23 Thread Jan Hubicka via Libstdc++-cvs
https://gcc.gnu.org/g:2d55c0161562f96d2230cd132b494a5d06352a23 commit r15-7163-g2d55c0161562f96d2230cd132b494a5d06352a23 Author: Jan Hubicka Date: Thu Jan 23 15:50:50 2025 +0100 Optimize vector::operator[] the following testcase: bool f(const std::vector& v, std::size_t

[gcc r15-5735] optimize basic_string

2024-11-27 Thread Jan Hubicka via Libstdc++-cvs
https://gcc.gnu.org/g:1046c32de4956c3d706a2ff8683582fd21b8f360 commit r15-5735-g1046c32de4956c3d706a2ff8683582fd21b8f360 Author: Jan Hubicka Date: Wed Nov 27 23:52:37 2024 +0100 optimize basic_string Add __builtin_unreachable conditionls to declare value ranges of basic_string

[gcc r15-5361] Add __builtion_unreachable to vector::size(), vector::capacity()

2024-11-16 Thread Jan Hubicka via Libstdc++-cvs
https://gcc.gnu.org/g:aac5c57ee167230cea466064951daf06e42197b9 commit r15-5361-gaac5c57ee167230cea466064951daf06e42197b9 Author: Jan Hubicka Date: Sun Nov 17 01:21:04 2024 +0100 Add __builtion_unreachable to vector::size(), vector::capacity() This patch makes it clear that vector