https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61659 --- Comment #1 from Rafael Avila de Espindola <rafael.espindola at gmail dot com> --- The undefined is still present with -fno-devirtualize-speculatively.