This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/59800] Compilation with g++ fails when -Ofast -flto is used to compile code using some <random> distribution
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Jan 2014 13:13:43 +0000
- Subject: [Bug c++/59800] Compilation with g++ fails when -Ofast -flto is used to compile code using some <random> distribution
- Auto-submitted: auto-generated
- References: <bug-59800-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59800
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
And looking at the libstdc++ code, it indeed has _M_saved initially
uninitialized, and all reads of it guarded by _M_saved_available flag.
Supposedly predicate aware unitialized warning pass isn't able to figure that
out.