https://bugs.kde.org/show_bug.cgi?id=433859

--- Comment #5 from Paul Floyd <pjfl...@wanadoo.fr> ---
    MyClass* myClass = (MyClass *)operator new(sizeof(MyClass),
std::align_val_t(67U));

with libstdc++

  >   122    if (__builtin_expect (!std::__has_single_bit(align), false))     │
│      123      _GLIBCXX_THROW_OR_ABORT(bad_alloc());

gives

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Program received signal SIGABRT, Aborted.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to