re PR c++/35548 (g++ 4.3 miscompile this simple program)
authorJason Merrill <jason@redhat.com>
Tue, 18 Mar 2008 02:52:34 +0000 (22:52 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 18 Mar 2008 02:52:34 +0000 (22:52 -0400)
commit3d574e5b1f7606112e6b3a54342b651a40fb4539
tree306f38a313a14d6dd697eed309e8d10e52cc9790
parenta5728e4006219546ce97e0db987377ef386557fa
re PR c++/35548 (g++ 4.3 miscompile this simple program)

        PR c++/35548
        * call.c (reference_binding): Check LOOKUP_NO_TEMP_BIND when binding
        a temp directly to a reference as per DR391.

From-SVN: r133299
gcc/cp/ChangeLog
gcc/cp/call.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/init/ref16.C [new file with mode: 0644]