https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39906
--- Comment #5 from Andrew Pinski ---
(In reply to Thiago Macieira from comment #4)
> (In reply to Martin Sebor from comment #2)
> > Reconfirming that GCC 10 still accepts it. The code does look invalid but
> > no compiler I tried rejects the co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39906
Thiago Macieira changed:
What|Removed |Added
CC||thiago at kde dot org
--- Comment #4 f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39906
--- Comment #3 from Andrew Pinski ---
Even more shocking this works on all compilers:
int t1;
Derived::Kind::type &t = t1;
Base::Kind::type &t2 = t1;
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39906
Martin Sebor changed:
What|Removed |Added
Last reconfirmed|2009-04-26 16:52:02 |2020-2-24
CC|
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-04-26 16:52 ---
Confirmed.
--
rguenth at gcc dot gnu dot org changed:
What|Removed |Added
Status|UNCON