[Bug libstdc++/105720] New: std::views::split_view wrong behaviour in case of partial match

2022-05-24 Thread andij.cr at gmail dot com via Gcc-bugs
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: andij.cr at gmail dot com Target Milestone: --- compiled with g++-10 -std=c++20 split_view_wrong.cpp -lfmt godbolt link https://gcc.godbolt.org/z/47TxWovd4 fmtlib used for

[Bug tree-optimization/104959] New: nested lambda capture pack by ref will load from nullptr

2022-03-16 Thread andij.cr at gmail dot com via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: andij.cr at gmail dot com Target Milestone: --- testcase: #include template auto line = [](Ts &&...args) { if constexpr (sizeof...(Ts) != 0) { ([&] {

[Bug tree-optimization/104275] New: Os does not apply return value optimization while O2 and O3 does

2022-01-28 Thread andij.cr at gmail dot com via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: andij.cr at gmail dot com Target Milestone: --- tested from gcc 8 to gcc 11 an identity function (mark) interposed in a call stack that ends in a complex type is

[Bug c++/93513] New: internal compiler error internal compiler error: unexpected expression ‘(char)(e)’ of kind cast_expr

2020-01-30 Thread andij.cr at gmail dot com
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: andij.cr at gmail dot com Target Milestone: --- compiling this c++ code enum class error {}; template void afunction(F) { error{char(0)}; } with

[Bug middle-end/91674] New: [ARM/thumb] redundant memcpy does not get optimized away on thumb

2019-09-05 Thread andij.cr at gmail dot com
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: andij.cr at gmail dot com Target Milestone: --- consider this c++ function #include #include #include auto to_bytes(uint32_t arg){ std::array out{}; std::memcpy