https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532
Bug ID: 93532 Summary: RISCV g++ hangs with optimization >= -O2 Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: giulio.benetti at benettiengineering dot com Target Milestone: --- Buildroot hangs on building package "bullet" when compiling with g++ and optimization >= -O2, it's noted instead that the problem doesn't show anymore using -O1 as a work-around. Nothing changes trying to build with/without debug symbols. Here is build hang log: http://autobuild.buildroot.net/results/9a4/9a405ec6fabfa306c14a671a5e09359ac623c25b/build-end.log