https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82635
--- Comment #10 from Hannes Hauswedell <h2+bugs at fsfe dot org> --- > Could you please tell us the FreeBSD version and arch you run on? uname -ra FreeBSD celegans.imp.fu-berlin.de 11.1-RELEASE FreeBSD 11.1-RELEASE #0 r321309: Fri Jul 21 02:08:28 UTC 2017 r...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 For completeness, these are the GCC versions installed: % pkg info | grep gcc gcc-ecj-4.5 Eclipse Java Compiler used to build GCC Java gcc49-4.9.4_5 GNU Compiler Collection 4.9 gcc5-5.4.0_4 GNU Compiler Collection 5 gcc6-6.4.0_2 GNU Compiler Collection 6 gcc7-devel-7.2.1.s20171012 GNU Compiler Collection 7 gcc8-devel-8.0.0.s20171008 GNU Compiler Collection 8 gcc49-4.9.4_5 works, the later ones don't.