[Bug c++/100326] New: Crash with `#pragma GCC unroll` when calling value which can't be called in template function

2021-04-28 Thread ryan_greenblatt at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100326 Bug ID: 100326 Summary: Crash with `#pragma GCC unroll` when calling value which can't be called in template function Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/98712] Incorrect defaulted operator== at compile time and runtime when declared constexpr and inheriting (c++20)

2021-01-17 Thread ryan_greenblatt at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98712 --- Comment #1 from Ryan Greenblatt --- I've also noticed some incorrect compiler errors when trying to default constexpr operator== in similar circumstances. I think the causes are the likely the same.

[Bug c++/81642] -Wtype-limits should not trigger for defined numbers

2021-01-17 Thread ryan_greenblatt at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81642 --- Comment #5 from Ryan Greenblatt --- (In reply to Ryan Greenblatt from comment #4) > This occurs for c++ templates/constexpr as well. For example: > ``` > #include > #include > > template > constexpr bool bigger_than_max = n > std::numeric

[Bug c++/81642] -Wtype-limits should not trigger for defined numbers

2021-01-17 Thread ryan_greenblatt at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81642 Ryan Greenblatt changed: What|Removed |Added CC||ryan_greenblatt at brown dot edu ---

[Bug c++/98717] New: [c++20] variadic concept can't take empty pack

2021-01-17 Thread ryan_greenblatt at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98717 Bug ID: 98717 Summary: [c++20] variadic concept can't take empty pack Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/98714] New: [c++14] Nested type with variadic template class argument can't be expanded into using outer variadic types

2021-01-17 Thread ryan_greenblatt at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98714 Bug ID: 98714 Summary: [c++14] Nested type with variadic template class argument can't be expanded into using outer variadic types Product: gcc Version: 11.0

[Bug c++/98712] New: Incorrect defaulted operator== at compile time and runtime when declared constexpr and inheriting

2021-01-17 Thread ryan_greenblatt at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98712 Bug ID: 98712 Summary: Incorrect defaulted operator== at compile time and runtime when declared constexpr and inheriting Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/98711] New: internal compiler error on instantiation of c++20 template class with 2 constrained and disabled destructors

2021-01-17 Thread ryan_greenblatt at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98711 Bug ID: 98711 Summary: internal compiler error on instantiation of c++20 template class with 2 constrained and disabled destructors Product: gcc Version: 11.0

[Bug c++/98672] New: constexpr function - for loop with return statement doesn't get recognized as constexpr subexpression

2021-01-14 Thread ryan_greenblatt at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98672 Bug ID: 98672 Summary: constexpr function - for loop with return statement doesn't get recognized as constexpr subexpression Product: gcc Version: 11.0 Status: UNCONFIRME

[Bug c++/98617] New: Failure to recognize pack expansion argument for non-pack parameter of alias template when alias is "exact"

2021-01-10 Thread ryan_greenblatt at brown dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98617 Bug ID: 98617 Summary: Failure to recognize pack expansion argument for non-pack parameter of alias template when alias is "exact" Product: gcc Version: 11.0