Index: include/vector =================================================================== --- include/vector +++ include/vector @@ -290,8 +290,8 @@ { protected: _LIBCPP_ALWAYS_INLINE __vector_base_common() {} - void __throw_length_error() const; - void __throw_out_of_range() const; + void __throw_length_error() const __attribute__((__noreturn__)); + void __throw_out_of_range() const __attribute__((__noreturn__)); }; template