[Bug c++/45401] [C++0x] reference collapsing and reference qualifiers
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu May 26 03:08:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45401
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-05-26 03:06:13 UTC ---
Author: jason
Date: Thu May 26 03:06:09 2011
New Revision: 174260
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=174260
Log:
PR c++/45401
* decl.c (grokdeclarator): Don't change type when adding rvalue ref
to another reference type.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/rv-restrict.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/decl.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list