[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
++ Assignee: unassigned at gcc dot gnu.org Reporter: philip.deegan at gmail dot com Target Milestone: --- Hi, With the release of FC36 and GCC12, we've begun to get an internal compiler error for the following code, https://github.com/PHAREHUB/PHARE/blob/master/tests/core/data/elec

[Bug target/68802] seg fault when non-main thread calls std::current_exception ARMv7-A

2016-03-03 Thread philip.deegan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68802 --- Comment #3 from Philip Deegan --- Anything I can do to help?

[Bug target/68802] seg fault when non-main thread calls std::current_exception ARMv7-A

2015-12-10 Thread philip.deegan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68802 --- Comment #1 from Philip Deegan --- Also occurs with a 4.9.2 cross compiler. g++ -v Using built-in specs. COLLECT_GCC=./g++ COLLECT_LTO_WRAPPER=/path/to/gcc_4.9_ARMv7-A/libexec/gcc/arm-linux-gnueabihf/4.9.2/lto-wrapper Target: arm-linux-gnuea

[Bug libstdc++/68802] New: seg fault when non-main thread calls std::current_exception ARMv7-A

2015-12-08 Thread philip.deegan at gmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: philip.deegan at gmail dot com Target Milestone: --- Created attachment 36966 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36966&action=edit Simple seg faulti

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2015-12-08 Thread philip.deegan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 --- Comment #17 from Philip Deegan --- Building bin-utils/gcc/glibc with --with-arch=armv7-a did the trick. Atomic is not required. However, if a thread calls std::current_exception it segfaults in libstdc++-v3/libsupc++/eh_ptr.cc line 190: __c

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2015-12-08 Thread philip.deegan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 --- Comment #15 from Philip Deegan --- Hi, thanks for the quick reply. Yeah I tried with atomic, not much different shared or static, is something special required when building gcc/libc? Linking with --verbose results in: -lmy_lib -latomic -l

[Bug libstdc++/58938] std::exception_ptr is missing on architectures with incomplete atomic int support

2015-12-08 Thread philip.deegan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938 Philip Deegan changed: What|Removed |Added CC||philip.deegan at gmail dot com