This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/66602] std::tuple bug when constructed with temporary empty object


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]