[Bug middle-end/103614] Modulo equality optimization

2021-12-10 Thread getchar_gnu at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103614 --- Comment #1 from getchar_gnu at hotmail dot com --- Not sure if related, but something like x%13==8 && x>17 && x<146 can also reduce some code

[Bug c/103614] New: Modulo equality optimization

2021-12-07 Thread getchar_gnu at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103614 Bug ID: 103614 Summary: Modulo equality optimization Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409

2020-12-15 Thread getchar_gnu at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90782 --- Comment #6 from getchar_gnu at hotmail dot com --- https://gcc.godbolt.org/z/qzG9jj template struct bar { template bar(B& obj, void(B::*f)(A...)const=::operator()){} }; int main() { const auto f1 = [](){}; bar f8(f1); } This