[Bug c++/107282] New: ICE on valid code template + overloaded + visit

2022-10-16 Thread boris_oncev at hotmail dot com via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: boris_oncev at hotmail dot com Target Milestone: --- ICE on >=C++17 on all supported versions https://godbolt.org/z/5exMcrhYz

[Bug c++/96115] New: Char literal, decays to a pointer when passed to function pointer

2020-07-08 Thread boris_oncev at hotmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: boris_oncev at hotmail dot com Target Milestone: --- Example code: struct SL{ template SL(const char ()[N]) {} }; int foo(SL x) { return 2; } int main() { int (*f

[Bug c++/95164] New: ICE regression starting with 9.3

2020-05-16 Thread boris_oncev at hotmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: boris_oncev at hotmail dot com Target Milestone: --- Reproduction code on godbolt, showing ICE on 9.3 & 10.1 but works fine on 9.2 https://godbolt.org/z/-Dr7Lc #include struct A { }; struct B { A a; }; struct C { }; struct D {

[Bug tree-optimization/93328] missed optimization opportunity in deserialization code

2020-03-30 Thread boris_oncev at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93328 --- Comment #5 from Boris --- full code: https://godbolt.org/z/zjNqYV template auto reverse(T num) { // misses optimization when num is int32_t OK for int64_t auto* bytes = reinterpret_cast(); // misses optimization for both 32

[Bug tree-optimization/93328] missed optimization opportunity in deserialization code

2020-03-30 Thread boris_oncev at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93328 Boris changed: What|Removed |Added CC||boris_oncev at hotmail dot com --- Comment #4

[Bug other/94403] Missed optimization bswap

2020-03-30 Thread boris_oncev at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94403 Boris changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug other/94403] New: Missed optimization bswap

2020-03-30 Thread boris_oncev at hotmail dot com
Assignee: unassigned at gcc dot gnu.org Reporter: boris_oncev at hotmail dot com Target Milestone: --- full code: https://godbolt.org/z/zjNqYV template auto reverse(T num) { // misses optimization when num is int32_t OK for int64_t auto* bytes = reinterpret_cast(); // misses

[Bug c++/86648] [9 Regression] ICE on class template argument deduction

2018-07-24 Thread boris_oncev at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86648 --- Comment #2 from Boris --- (In reply to Marek Polacek from comment #1) > I don't see any ICE with -std=c++17. Did you try it on godbolt, or locally(maybe you have newer version than godbolt) ?

[Bug c++/86648] New: [9 Regression] ICE on class template argument deduction

2018-07-23 Thread boris_oncev at hotmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: boris_oncev at hotmail dot com Target Milestone: --- On compiler explorer using the gcc (trunk) compiler I get an ICE. https://godbolt.org/g/NPtXxH The same code works on earlier versions 8.1