------- Comment #5 from jason at gcc dot gnu dot org 2008-03-18 02:53 ------- Subject: Bug 35548
Author: jason Date: Tue Mar 18 02:52:34 2008 New Revision: 133299 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133299 Log: PR c++/35548 * call.c (reference_binding): Check LOOKUP_NO_TEMP_BIND when binding a temp directly to a reference as per DR391. Added: trunk/gcc/testsuite/g++.dg/init/ref16.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/call.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35548