On Sat, 27 Dec 2025, Thomas de Bock wrote: > diff --git a/gcc/c-family/c.opt b/gcc/c-family/c.opt > index a4cb755b0b9..0b0e6eb49af 100644 > --- a/gcc/c-family/c.opt > +++ b/gcc/c-family/c.opt > @@ -1747,6 +1747,10 @@ fassume-sane-operators-new-delete > C++ ObjC++ Optimization Var(flag_assume_sane_operators_new_delete) Init(1) > Assume C++ replaceable global operators new, new[], delete, delete[] don't > read or write visible global state. > > +fassume-unique-vtables > +C++ ObjC++ Optimization Var(flag_assume_unique_vtables) Init(0) > +Assume that, throughout the program's lifetime, each pair of class types > representing the same class shares a common vtable.
The new option needs documenting in invoke.texi. -- Joseph S. Myers [email protected]
