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

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Probably the same issue:

struct C {
  ~C();
};
int foo() {
  C c;
  return 1;
  if (true)
    ;
}

Reply via email to