https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111113
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=51757 Known to fail| |4.8.1 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #1) > Confirmed. > > Another testcase which might show what is really going on: ... > Which is not correct as bar in this case is the same bar. The ambiguous error message was added in GCC 11.