[Bug c++/94926] New: [9 regression] invalid use of incomplete type not recogniced for static self reference of templated struct

2020-05-02 Thread max.kan...@nu-cost.com
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: max.kan...@nu-cost.com Target Milestone: --- The following illegal code, correctly rejected by GCC 8.3, compiles from GCC

[Bug c++/95451] New: [8/9/10 regression] ICE for lambda capturing this and calling operator()

2020-05-31 Thread max.kan...@nu-cost.com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: max.kan...@nu-cost.com Target Milestone: --- The following legal code will lead to an Internal Compiler Error, see https://godbolt.org/z/PoyMEL

[Bug c++/95451] [8/9/10 regression] ICE for lambda capturing this and calling operator()

2020-05-31 Thread max.kan...@nu-cost.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95451 --- Comment #1 from Max --- I just noted this is a duplicate of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90480, although the other bug report neither mentions the workaround nor 86594. I guess I need to improve my search skills :/

[Bug c++/93317] New: return type deduction fails for templated unary function

2020-01-18 Thread max.kan...@nu-cost.com
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: max.kan...@nu-cost.com Target Milestone: --- The following legal code will not compile as template deduction failed, see https://godbolt.org/z/AHUHpF template