[Bug c++/58004] New: Internal compiler error in unify_one_argument, at cp/pt.c:15445

2013-07-27 Thread lin90162 at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lin90162 at gmail dot com Code: // hoge.cpp template< class T, T... V > struct L{}; template< class T, class U = L > struct X; template< char... V > struct X< cha

[Bug c++/59829] New: Calling vector::data() occurs undefined behavior when the vector is empty

2014-01-15 Thread lin90162 at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: lin90162 at gmail dot com When vector is empty, calling vector::data() occurs undefined behavior by dereferencing NULL. The implementation of vector::data() and vector::front() in