This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66857] [5/6 Regression] Reference not bound to lvalue
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 13 Jul 2015 13:07:14 +0000
- Subject: [Bug c++/66857] [5/6 Regression] Reference not bound to lvalue
- Auto-submitted: auto-generated
- References: <bug-66857-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66857
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The gimple dump shows a temporary int being created from the global, and the
temporary is passed to the constructor.