http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18635
Manuel López-Ibáñez <manu at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu.org --- Comment #10 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2010-11-26 11:11:29 UTC --- (In reply to comment #9) > (In reply to comment #2) > > int &a = a; > > i don't believe this is valid code. i believe g++ should reject the code. > > I'm not convinced the compiler must reject it. EDG accepts it too. Without warning? What about clang 2.8?