https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81147
--- Comment #1 from Felipe Magno de Almeida <felipe at expertisesolutions dot com.br> --- Forgot to mention that removing the inheritance of A and seq from parser_base (leaving it without inheriting anything) does make NRVO and RVO work again. Unfortunately not a workaround I can use.