https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70735
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- (In reply to Paolo Monteverde from comment #2) > Sorry, on Ubuntu the version is actually 5.3.1, but on Arch is 5.3.0, as far > as I can see. Unfortunately you are being misled by Arch lying. > gcc -v on Arch > > Using built-in specs. > COLLECT_GCC=gcc > COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0/lto-wrapper > Target: x86_64-unknown-linux-gnu > Configured with: /build/gcc-multilib/src/gcc-5-20160209/configure This shows that Arch is using a snapshot from the gcc-5-branch on 20160209, which means it's 5.3.1, but they lie and call it 5.3.0 for some annoying reason. So your results agree with mine, it's a regression since 5.3.0 that only affects 5.3.1