This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34022] Rvalue references and std::forward() broken with built-in types
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Nov 2007 01:59:15 -0000
- Subject: [Bug c++/34022] Rvalue references and std::forward() broken with built-in types
- References: <bug-34022-13491@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2007-11-08 01:59 -------
D.3322 = 97;
printf (&"%p\n"[0], &D.3322);
D.3373 = D.3322;
printf (&"%p\n"[0], &D.3373);
D.3323 = {};
printf (&"%p\n"[0], &D.3323);
printf (&"%p\n"[0], &D.3323);
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34022