[Bug c++/115657] New: [15 regression] ICE in tsubst_enum/tsubst_expr during template instantiation

2024-06-25 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115657 Bug ID: 115657 Summary: [15 regression] ICE in tsubst_enum/tsubst_expr during template instantiation Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords:

[Bug c++/115232] New: [14 regression] ICE during GIMPLE pass

2024-05-26 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115232 Bug ID: 115232 Summary: [14 regression] ICE during GIMPLE pass Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/101222] New: unwanted templated constructor instantiation due to wrong binary operator access

2021-06-26 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101222 Bug ID: 101222 Summary: unwanted templated constructor instantiation due to wrong binary operator access Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/100825] function signature constraints are not a part of mangled name

2021-06-01 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 --- Comment #6 from vopl at bk dot ru --- (In reply to Jonathan Wakely from comment #5) > Yes, I realise that, but I think that is the same rule that means you can't > change the result of overload resolution for a given call, But I have a

[Bug c++/100825] function signature constraints are not a part of mangled name

2021-06-01 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 --- Comment #4 from vopl at bk dot ru --- (In reply to Jonathan Wakely from comment #3) > Clang and EDG agree with GCC here. > > I think your code is ill-formed due to [temp.constr.atomic] p3: > > "If, at different points in the program, the

[Bug c++/100825] function signature constraints are not a part of mangled name

2021-05-31 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 --- Comment #2 from vopl at bk dot ru --- https://bugs.llvm.org/show_bug.cgi?id=50540

[Bug c++/100825] function signature constraints are not a part of mangled name

2021-05-29 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 --- Comment #1 from vopl at bk dot ru --- a little more minimized: template void foo() {} //1 void useFirst() { foo();// call 1 - instantiate "void foo()" } template void foo() requires true {} //2 void useSecond() { foo();// call 2

[Bug c++/100825] New: function signature constraints are not a part of mangled name

2021-05-29 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100825 Bug ID: 100825 Summary: function signature constraints are not a part of mangled name Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/100516] Unexpected -Wstringop-overread in deque initialization from empty initializer_list

2021-05-11 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100516 --- Comment #2 from vopl at bk dot ru --- minimal reproduce code I have: using size_t = decltype(sizeof(char)); class initializer { const char* _array; size_t _len; public: constexpr initializer() : _array{}, _len{} { }

[Bug c++/100516] Unexpected -Wstringop-overread in deque initialization from empty initializer_list

2021-05-11 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100516 --- Comment #1 from vopl at bk dot ru --- Please look at the following code, it throws an unexpected warning [-Wstringop-overread]. $ cat b11.cpp && echo EOF #include void f() { std::initializer_list il{}; std::deque{il}; }

[Bug c++/100516] New: Unexpected -Wstringop-overread in deque initialization from empty initializer_list

2021-05-11 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100516 Bug ID: 100516 Summary: Unexpected -Wstringop-overread in deque initialization from empty initializer_list Product: gcc Version: 11.1.0 Status: UNCONFIRMED

[Bug c++/93320] internal compiler error: in is_base_type, at dwarf2out.c:12987

2021-05-07 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93320 vopl at bk dot ru changed: What|Removed |Added CC||vopl at bk dot ru --- Comment #7

[Bug c++/100396] [11.1 regression] The template function overload is not selected correctly

2021-05-04 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100396 --- Comment #4 from vopl at bk dot ru --- I understand what you're saying. But, apparently, there is still corruption in the calculus of the substituted Args, please look at this code (thanks to johny5):

[Bug c++/100396] [11.1 regression] The template function overload is not selected correctly

2021-05-03 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100396 --- Comment #2 from vopl at bk dot ru --- Please, try this, also failed /0/1/2/3/4/5/6/7 template struct Checker { using Some = decltype(F{}(Args{}...)); }; template concept

[Bug c++/100396] New: [11.1 regression] The template function overload is not selected correctly

2021-05-03 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100396 Bug ID: 100396 Summary: [11.1 regression] The template function overload is not selected correctly Product: gcc Version: 11.1.0 Status: UNCONFIRMED Keywords:

[Bug c++/99119] New: Class Types in Non-Type Template Parameters - ICE with templates nested

2021-02-16 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99119 Bug ID: 99119 Summary: Class Types in Non-Type Template Parameters - ICE with templates nested Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug c++/86883] Unexpected error: expansion pattern '' contains no argument packs

2020-09-25 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86883 --- Comment #4 from vopl at bk dot ru --- One more: template struct Outer { template struct Inner; template Inner method();//error: expansion pattern 'V0' contains no parameter packs };

[Bug c++/86883] Unexpected error: expansion pattern '' contains no argument packs

2020-09-24 Thread vopl at bk dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86883 vopl at bk dot ru changed: What|Removed |Added CC||vopl at bk dot ru --- Comment #3