[Bug c++/59800] Compilation with g++ fails when -Ofast -flto is used to compile code using some <random> distribution

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 14 13:13:00 GMT 2014


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.



More information about the Gcc-bugs mailing list