[Bug c++/89743] New: [concepts] ICE when using decltype(requires-expr) as type template parameter

2019-03-16 Thread jason.e.cobb at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jason.e.cobb at gmail dot com Target Milestone: --- Example code: template struct use_type {}; template // needed to fulfill requirement that requires appears only

[Bug c++/89743] [concepts] ICE when using decltype(requires-expr) as type template parameter

2019-03-17 Thread jason.e.cobb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89743 --- Comment #2 from Jason Cobb --- (In reply to Jonathan Wakely from comment #1) > GCC 8 gives: > > c.cc:5:23: error: expected nested-name-specifier > using type = typename use_type^~ >

[Bug c++/89657] ICE when calling lambda returning requires-expression

2019-03-11 Thread jason.e.cobb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89657 --- Comment #1 from Jason Cobb --- (In reply to Jason Cobb from comment #0) > In the code: > auto x = [](){ > return requires() { > 1; > }; > }(); > > When compiling with trunk as of 2019-03-10, GCC fails with an internal >

[Bug c++/89657] New: ICE when calling lambda returning requires-expression

2019-03-11 Thread jason.e.cobb at gmail dot com
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jason.e.cobb at gmail dot com Target Milestone: --- In the code: auto x = [](){ return requires() { 1; }; }(); When compiling with trunk as of 2019-03-10, GCC fails with an internal compiler

[Bug c++/92777] New: ICE on concept containing lambda with auto variable declaration

2019-12-03 Thread jason.e.cobb at gmail dot com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jason.e.cobb at gmail dot com Target Milestone: --- With GCC trunk in std=c++2a mode and the following code: [begin code] template concept auto_in_lambda = requires

[Bug libstdc++/92156] New: Cannot in-place construct std::any with std::any

2019-10-18 Thread jason.e.cobb at gmail dot com
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: jason.e.cobb at gmail dot com Target Milestone: --- GCC (and clang, when using libstdc++) claim that the following program is ill-formed when compiled with "-std=c++17": #include int main() { au

[Bug c++/92777] ICE on concept containing lambda with auto variable declaration

2020-04-14 Thread jason.e.cobb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92777 Jason Cobb changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/89657] [concepts] ICE when calling lambda returning requires-expression

2020-04-14 Thread jason.e.cobb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89657 Jason Cobb changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/89743] [concepts] ICE when using decltype(requires-expr) as type template parameter

2020-04-14 Thread jason.e.cobb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89743 Jason Cobb changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2020-04-14 Thread jason.e.cobb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 89657, which changed state. Bug 89657 Summary: [concepts] ICE when calling lambda returning requires-expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89657 What|Removed |Added

[Bug c++/96815] internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12928

2020-09-08 Thread jason.e.cobb at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96815 Jason Cobb changed: What|Removed |Added CC||jason.e.cobb at gmail dot com --- Comment

[Bug c++/98061] New: CV qualifiers are incorrectly stripped from the type of void prvalues

2020-11-29 Thread jason.e.cobb at gmail dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jason.e.cobb at gmail dot com Target Milestone: --- When creating a prvalue of a cv void type, cv qualifiers are incorrectly stripped. Consider: BEGIN EXAMPLE #include

[Bug c++/98061] CV qualifiers are incorrectly stripped from the type of void prvalues

2020-11-29 Thread jason.e.cobb at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98061 Jason Cobb changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/100710] New: static_cast to derived* of base* pointing to non-static data member of base type not rejected in constant expression

2021-05-20 Thread jason.e.cobb at gmail dot com via Gcc-bugs
Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jason.e.cobb at gmail dot com Target Milestone: --- In the following code: [code] class B {}; class D

[Bug c++/99902] New: Deduced return type of lambda in default template argument takes return type from variable template

2021-04-03 Thread jason.e.cobb at gmail dot com via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: jason.e.cobb at gmail dot com Target Milestone: --- In the following code: [BEGIN EXAMPLE] template struct foo {}; template inline constexpr auto