https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122506

--- Comment #2 from Nuno Lopes <nuno.lopes at tecnico dot ulisboa.pt> ---
Here are two examples of constructor calls that touch uninitialized memory:

std::vector<bool> f() {
  return {1, false};
}

std::vector<bool> g() {
  return {true, false};
}


>> If the access goes through the operator[], it loads uninitialized memory
>> first, and then masks it.
>
> Which access?

In __fill_bvector_n.

Reply via email to