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
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::
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
++
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68802
--- Comment #3 from Philip Deegan ---
Anything I can do to help?
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
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
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
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
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58938
Philip Deegan changed:
What|Removed |Added
CC||philip.deegan at gmail dot com
10 matches
Mail list logo