https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93847
--- Comment #1 from Giulio Benetti <giulio.benetti at benettiengineering dot com> --- Here is another test-case: http://autobuild.buildroot.net/results/e22/e225e62ea2d48660df4110790664f0c3306c1ea9/ Here gcc is built from scratch instead of using Codesourcery one, so it should be easy for you to check. I've found that this bug affects Nios II on gcc 6,7,8.