/usr/lib/gcc/aarch64-amazon-linux/14/../../../../include/c++/14/bits/new_allocator.h: 134 - 172
--------------------------------------------------------------------------------

134: 	if (__builtin_expect(__n > this->_M_max_size(), false))
135: 	  {
136: 	    // _GLIBCXX_RESOLVE_LIB_DEFECTS
137: 	    // 3190. allocator::allocate sometimes returns too little storage
138: 	    if (__n > (std::size_t(-1) / sizeof(_Tp)))
139: 	      std::__throw_bad_array_new_length();
140: 	    std::__throw_bad_alloc();
[...]
151: 	return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
[...]
172: 	_GLIBCXX_OPERATOR_DELETE(_GLIBCXX_SIZED_DEALLOC(__p, __n));
/usr/lib/gcc/aarch64-amazon-linux/14/../../../../include/c++/14/bits/stl_algobase.h: 939 - 940
--------------------------------------------------------------------------------

939:       for (; __first != __last; ++__first)
940: 	*__first = __value;
/home/eoseret/qaas/qaas_runs/178-547-6790/intel/miniqmc/build/miniqmc/src/Numerics/OhmmsPETE/OhmmsVector.h: 182 - 301
--------------------------------------------------------------------------------

182:   {
183:     static_assert(std::is_same<value_type, typename Alloc::value_type>::value,
184:                   "Vector and Alloc data types must agree!");
185:     if (nLocal > nAllocated)
186:       throw std::runtime_error("Resize not allowed on Vector constructed by initialized memory.");
187: 
188:     if (n > nAllocated)
[...]
195:       if (n > nLocal)
196:         qmc_allocator_traits<Alloc>::fill_n(X + nLocal, n - nLocal, val);
197:       nLocal = n;
198:     }
199:     return;
[...]
296:     if (nAllocated)
297:     {
298:       mAllocator.deallocate(X, nAllocated);
299:     }
300:     X          = mAllocator.allocate(n);
301:     nLocal     = n;
