https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80201
Bug ID: 80201 Summary: groff build fails with -floop-nest-optimize -fgraphite-identity Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: fjeldse at hotmail dot com Target Milestone: --- Created attachment 41054 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41054&action=edit getopt.c preprocessed source When building groff-1.22.2 (Gentoo) on GCC 6.3.0, I receive the following error: i686-pc-linux-gnu-gcc -I. -I. -I/var/tmp/portage/sys-apps/groff-1.22.2/work/groff-1.22.2/src/include -I/var/tmp/portage/sys-apps/groff-1.22.2/work/groff-1.22.2/src/include -I/var/tmp/portage/sys-apps/groff-1.22.2/work/groff-1.22.2/src/libs/gnulib/lib -DHAVE_CONFIG_H -O2 -pipe -floop-nest-optimize -fgraphite-identity -march=native -c -D__GETOPT_PREFIX=groff_ -DENABLE_RELOCATABLE=1 -DLIBDIR=\"/usr/lib\" getopt.c getopt.c: In function 'exchange': getopt.c:171:1: internal compiler error: in add_loop_constraints, at graphite-sese-to-poly.c:933 exchange (char **argv, struct _getopt_data *d) ^~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions. GCC specs are as follows: Using built-in specs. COLLECT_GCC=/usr/i686-pc-linux-gnu/gcc-bin/6.3.0/i686-pc-linux-gnu-gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-pc-linux-gnu/6.3.0/lto-wrapper Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-6.3.0/work/gcc-6.3.0/configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/6.3.0 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/6.3.0/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/6.3.0 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/6.3.0/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/6.3.0/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/6.3.0/include/g++-v6 --with-python-dir=/share/gcc-data/i686-pc-linux-gnu/6.3.0/python --enable-languages=c,c++ --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo Hardened 6.3.0 p1.0' --enable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-altivec --disable-fixed-point --with-arch=i686 --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --disable-libquadmath --enable-lto --with-isl --disable-isl-version-check --disable-libsanitizer --disable-default-pie --enable-default-ssp Thread model: posix gcc version 6.3.0 (Gentoo Hardened 6.3.0 p1.0)