[Bug c++/35153] Taking address of result of calling function returning rvalue reference should not compile.

2008-12-02 Thread jason at gcc dot gnu dot org
-- jason at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|dgregor at gcc dot gnu dot |unassigned at gcc dot gnu |org

[Bug c++/35153] Taking address of result of calling function returning rvalue reference should not compile.

2008-02-15 Thread dgregor at gcc dot gnu dot org
--- Comment #1 from dgregor at gcc dot gnu dot org 2008-02-15 19:55 --- After discussing this with Howard Hinnant, we agree that it is a bug. I'll handle it. -- dgregor at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/35153] Taking address of result of calling function returning rvalue reference should not compile.

2008-02-15 Thread andreasmeier80 at gmx dot de
--- Comment #2 from andreasmeier80 at gmx dot de 2008-02-16 03:39 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00584.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35153