This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/35548] [4.3/4.4 Regression] g++ 4.3 miscompile this simple program
- From: "jason at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Mar 2008 02:57:37 -0000
- Subject: [Bug c++/35548] [4.3/4.4 Regression] g++ 4.3 miscompile this simple program
- References: <bug-35548-12910@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from jason at gcc dot gnu dot org 2008-03-18 02:57 -------
Subject: Bug 35548
Author: jason
Date: Tue Mar 18 02:56:52 2008
New Revision: 133300
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=133300
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:
branches/gcc-4_3-branch/gcc/testsuite/g++.dg/init/ref16.C
- copied unchanged from r133299, trunk/gcc/testsuite/g++.dg/init/ref16.C
Modified:
branches/gcc-4_3-branch/gcc/cp/ChangeLog
branches/gcc-4_3-branch/gcc/cp/call.c
branches/gcc-4_3-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35548