[Bug c++/54606] reference assignment failing/points at previous object

2012-09-25 Thread gcc at gyw dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54606 --- Comment #3 from Troy 2012-09-25 09:13:34 UTC --- I think more to the point, and a better mnemonic, is to say that "there are no references in C++." What is called a reference in C++ is really just a rename/alias for the variable. To rei

[Bug c++/54606] reference assignment failing/points at previous object

2012-09-22 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54606 --- Comment #2 from Andrew Pinski 2012-09-22 19:46:36 UTC --- (In reply to comment #1) > References cannot be assigned in C++, your code just triggers undefined > behavior. More to the point it is not undefined behavior but rather: a =

[Bug c++/54606] reference assignment failing/points at previous object

2012-09-17 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54606 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Component|libstdc++