[Bug libstdc++/115119] New: Typo in _Grapheme_cluster_view::_Iterator::operator++(int)

2024-05-16 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115119 Bug ID: 115119 Summary: Typo in _Grapheme_cluster_view::_Iterator::operator++(int) Product: gcc Version: 14.1.1 Status: UNCONFIRMED Severity: normal

[Bug c++/106849] internal compiler error: tree check: expected none of template_decl, have template_decl in do_nonmember_using_decl, at cp/name-lookup.cc:4841

2023-11-02 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 --- Comment #3 from David Stone --- Oh, as per https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112355#c3 it's just that the 13.2 build isn't checked, so it's not a new bug.

[Bug c++/106849] internal compiler error: tree check: expected none of template_decl, have template_decl in do_nonmember_using_decl, at cp/name-lookup.cc:4841

2023-11-02 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106849 --- Comment #2 from David Stone --- Looks like it works in 13.2 but fails in trunk. 13.2: https://godbolt.org/z/d54ToW7zW trunk: https://godbolt.org/z/eej9d7ccM

[Bug c++/112355] Internal compiler error when exporting using declaration of function template

2023-11-02 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112355 David Stone changed: What|Removed |Added CC||davidfromonline at gmail dot com ---

[Bug c++/112355] New: Internal compiler error when exporting using declaration of function template

2023-11-02 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112355 Bug ID: 112355 Summary: Internal compiler error when exporting using declaration of function template Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c/111617] New: Unnecessary instructions generated when comparing mixed-sign small integers

2023-09-27 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111617 Bug ID: 111617 Summary: Unnecessary instructions generated when comparing mixed-sign small integers Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/107853] New: Cannot create friend function template with variadic pack that depends on variadic pack

2022-11-23 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107853 Bug ID: 107853 Summary: Cannot create friend function template with variadic pack that depends on variadic pack Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c++/106211] Rejects valid with function template with non-deduced parameters from deduced parameters of another function template

2022-07-06 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106211 --- Comment #4 from David Stone --- The types for the first parameters of the inner lambda are deduced in my first two examples, but the arity is fixed in all of them -- equal to the arity of the outer function. Also, `return [](any auto,

[Bug c++/106211] Rejects valid with function template with non-deduced parameters from deduced parameters of another function template

2022-07-06 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106211 David Stone changed: What|Removed |Added CC||davidfromonline at gmail dot com ---

[Bug c++/106211] New: Rejects valid with function template with non-deduced parameters from deduced parameters of another function template

2022-07-05 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106211 Bug ID: 106211 Summary: Rejects valid with function template with non-deduced parameters from deduced parameters of another function template Product: gcc

[Bug middle-end/105768] New: Missed optimization: shifting signed to unsigned range before comparison not removed

2022-05-29 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105768 Bug ID: 105768 Summary: Missed optimization: shifting signed to unsigned range before comparison not removed Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/105623] [12/13 regression][rejects valid] invalid use of auto when deducing return type of base class template

2022-05-16 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105623 --- Comment #3 from David Stone --- Simplified reproduction: ``` auto g(auto fn) { return fn(); } template struct base { static auto value() { return 0; } }; struct S : base { static auto f()

[Bug c++/98995] [11/12/13 Regression] Copy elision not applied to members declared with [[no_unique_address]]

2022-04-28 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98995 David Stone changed: What|Removed |Added CC||davidfromonline at gmail dot com ---

[Bug tree-optimization/105189] [9/10/11/12 Regression] Wrong code with -O1

2022-04-06 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105189 David Stone changed: What|Removed |Added CC||davidfromonline at gmail dot com ---

[Bug c++/103783] Ambiguous overload between constrained static member and unconstrained non-static member

2022-01-02 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103783 --- Comment #4 from David Stone --- A correction to my previous comment: n4868 is technically a C++23 working draft (but claims to have only editorial fixes to the C++20 paper). However, I believe the wording fixes to this section are intended

[Bug c++/103783] Ambiguous overload between constrained static member and unconstrained non-static member

2022-01-02 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103783 --- Comment #3 from David Stone --- Fedor, it looks like that wording was changed to a non-normative note and expanded in N4868 to say: "There cannot be a static and a non-static member function with the same name, parameter-type-list, and

[Bug c++/103265] New: Default initializer on [[no_unique_address]] member initialized by lambda invoking guaranteed copy elision crashes gcc

2021-11-15 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103265 Bug ID: 103265 Summary: Default initializer on [[no_unique_address]] member initialized by lambda invoking guaranteed copy elision crashes gcc Product: gcc

[Bug c++/101777] New: Copying array of non-trivial type during constant evaluation is incorrect

2021-08-04 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101777 Bug ID: 101777 Summary: Copying array of non-trivial type during constant evaluation is incorrect Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c++/99018] Comparing address of array element not considered a constant expression in certain contexts

2021-08-02 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99018 --- Comment #3 from David Stone --- The error message looks suspiciously similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944. Perhaps it's the same bug?

[Bug c++/100721] Warn when assigning to temporary

2021-05-23 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100721 David Stone changed: What|Removed |Added CC||davidfromonline at gmail dot com ---

[Bug c++/100721] New: Warn when assigning to temporary

2021-05-21 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100721 Bug ID: 100721 Summary: Warn when assigning to temporary Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/100295] New: Internal compiler error from generic lambda capturing parameter pack and expanding it in if constexpr

2021-04-27 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100295 Bug ID: 100295 Summary: Internal compiler error from generic lambda capturing parameter pack and expanding it in if constexpr Product: gcc Version: 12.0 Status:

[Bug c/51971] unclear/unverified restrictions on attribute((const|pure))

2021-04-19 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51971 --- Comment #5 from David Stone --- After compiling this code ``` struct s { s(); }; s::s() {} s g() { return s(); } ``` with `-O3 -Wsuggest-attribute=pure -Wsuggest-attribute=const` I get the output ``` : In function 's

[Bug c/51971] unclear/unverified restrictions on attribute((const|pure))

2021-04-17 Thread davidfromonline at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51971 David Stone changed: What|Removed |Added CC||davidfromonline at gmail dot com ---