[Bug c++/104995] New: access checking for function pointer template parameters takes place at call site

2022-03-20 Thread mawww at kakoune dot org via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mawww at kakoune dot org Target Milestone: --- The following code ``` template void func() { auto lambda = [&](auto&& s) { F(s); }; lambda(0);

[Bug c++/91465] [9/10 Regression] unexpected expression of kind overload (ICE)

2020-03-05 Thread mawww at kakoune dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91465 Maxime Coste changed: What|Removed |Added CC||mawww at kakoune dot org --- Comment #7

[Bug c++/94041] New: temporary object destructor called before the end of the full-expression

2020-03-04 Thread mawww at kakoune dot org
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mawww at kakoune dot org Target Milestone: --- Hello on current trunk, with no special options given, compiling the following code: struct Temp{ ~Temp(); }; struct A{ A(const

[Bug c++/89217] ICE tree check: expected constructor, have error_mark in split_nonconstant_init_1

2019-02-05 Thread mawww at kakoune dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89217 --- Comment #1 from Maxime Coste --- Forgot to mention that this is a regression since gcc 8.2.1 which compiles this code fine. It fails on gcc trunk r268563.

[Bug c++/89217] New: ICE tree check: expected constructor, have error_mark in split_nonconstant_init_1

2019-02-05 Thread mawww at kakoune dot org
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mawww at kakoune dot org Target Milestone: --- Created attachment 45613 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45613=edit Source file that triggers the

[Bug tree-optimization/78528] New: Recursion not optimized in simple case

2016-11-25 Thread mawww at kakoune dot org
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: mawww at kakoune dot org Target Milestone: --- The following code: struct Int { constexpr Int(int value) : m_value(value) {} constexpr friend Int operator+(Int lhs