This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/66602] std::tuple bug when constructed with temporary empty object
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 19 Jun 2015 19:12:14 +0000
- Subject: [Bug c++/66602] std::tuple bug when constructed with temporary empty object
- Auto-submitted: auto-generated
- References: <bug-66602-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66602
Daniel KrÃgler <daniel.kruegler at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |daniel.kruegler@googlemail.
| |com
--- Comment #2 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> ---
It seems that gcc 5.1.0 produces a random value such as
557195712
or
-214982144
for the first output statement when compiled against C++11 or beyond that C++
target version. It seems, though, that the current head (tested agains gcc HEAD
6.0.0 20150619 (experimental)) has fixed that problem.