http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57557
Jonathan Wakely changed:
What|Removed |Added
Resolution|FIXED |INVALID
--- Comment #5 from Jonathan Wa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57557
Pavel Chupin changed:
What|Removed |Added
Resolution|INVALID |FIXED
--- Comment #4 from Pavel Chupin --
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57557
--- Comment #3 from Jonathan Wakely ---
Doh, sorry, I completely misread the test!
It's still undefined behaviour though, obj is uninitialized and you're missing
a return from A::foo
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57557
--- Comment #2 from Jonathan Wakely ---
(In reply to Jonathan Wakely from comment #1)
> It's undefined behaviour, you take a reference ton object that has no
s/ton object/to an object/
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57557
Jonathan Wakely changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---