https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61656
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- The patch actually just removes the undefined behavior and nothing else, it really doesn't affect code generation. It just causes merge_classes (which is a const function) not to be called on (initialized) subclasses[i] and (uninitialized) classes[i], storing the result back to classes[i]. We are not going to use the result of the merger of the initialized and uninitialized value later.