[Bug c++/62229] New: Broken uniform initialization when using std::string ctor

2014-08-22 Thread tnozicka at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tnozicka at gmail dot com Hi, IMHO this two examples should have same result, but ... // A std::string s1{10, '\0'}; std::cout s1.length() std::endl; // prints 2 - wrong // B std::string s2

[Bug libstdc++/62264] New: std::experimental::string_view won't compile with -pedantic-errors

2014-08-26 Thread tnozicka at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: tnozicka at gmail dot com std::experimental::string_view won't compile with -pedantic-errors SOURCE: #include experimental/string_view int main() { return 0; } COMPILE OK

[Bug c++/63415] New: internal compiler error: unexpected expression ‘static_castint(std::is_sameT, A1{})’ of kind static_cast_expr

2014-09-30 Thread tnozicka at gmail dot com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: tnozicka at gmail dot com Hi, g++ asked me to submit a bug report, so here it is :) === ERROR === main.cpp:37:69

[Bug sanitizer/66323] New: runtime error with zero sized std::array using begin and end methods

2015-05-28 Thread tnozicka at gmail dot com
Priority: P3 Component: sanitizer Assignee: unassigned at gcc dot gnu.org Reporter: tnozicka at gmail dot com CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org, jakub at gcc dot gnu.org, kcc at gcc dot gnu.org Target