[Bug c++/106109] Internal compiler error

2022-06-27 Thread philip.deegan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 --- Comment #4 from Philip Deegan --- as a minimal reproducer ` template class G { public: auto static F() { return 1; } }; int main() { auto fn = [](auto const& f) -> void { f(); }; fn(G::F); return 0; } ` https://godbolt

[Bug c++/106109] Internal compiler error

2022-06-27 Thread philip.deegan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 --- Comment #3 from Philip Deegan --- a bit more testing on our end, I think the issue stems from the lack of & on GridYee::JxToMoments https://github.com/PHAREHUB/PHARE/blob/master/tests/core/data/electrons/test_electrons.cpp#L519 > &GridYee::

[Bug c++/106109] Internal compiler error

2022-06-27 Thread philip.deegan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 --- Comment #2 from Philip Deegan --- Created attachment 53211 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53211&action=edit preprocessed source

[Bug c++/106109] New: Internal compiler error

2022-06-27 Thread philip.deegan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106109 Bug ID: 106109 Summary: Internal compiler error Product: gcc Version: 12.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee