Created attachment 566248 [details] /var/log/portage/sys-devel:gcc-8.3.0:20190224-084829.log Apparently claus\0 is not around. i686-pc-linux-gnu-g++-7.4.0 -std=gnu++98 -fno-PIE -c -fno-PIE -DIN_GCC_FRONTEND -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tab les -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-v ariadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ic -I/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc -I/var/tmp/portage/sys-d evel/gcc-8.3.0/work/gcc-8.3.0/gcc/c -I/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/../include -I/var/tmp/portage/sys-devel/gcc-8.3.0/wor k/gcc-8.3.0/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-8.3.0 /work/gcc-8.3.0/gcc/../libdecnumber/bid -I../libdecnumber -I/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/../libbacktrace -o c/c-objc-c ommon.o -MT c/c-objc-common.o -MMD -MP -MF c/.deps/c-objc-common.TPo /var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/c/c-objc-common.c i686-pc-linux-gnu-g++-7.4.0 -std=gnu++98 -fno-PIE -c -fno-PIE -DIN_GCC_FRONTEND -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tab les -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-v ariadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -Ic -I/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc -I/var/tmp/portage/sys-d evel/gcc-8.3.0/work/gcc-8.3.0/gcc/c -I/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/../include -I/var/tmp/portage/sys-devel/gcc-8.3.0/wor k/gcc-8.3.0/gcc/../libcpp/include -I/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/../libdecnumber -I/var/tmp/portage/sys-devel/gcc-8.3.0 /work/gcc-8.3.0/gcc/../libdecnumber/bid -I../libdecnumber -I/var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/../libbacktrace -o c/c-parser .o -MT c/c-parser.o -MMD -MP -MF c/.deps/c-parser.TPo /var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/c/c-parser.c /var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/c/c-parser.c:14626:38: warning: null character(s) ignored OACC_DECLARE_CLAUSES (stmt) = claus SET_EXPR_LOCATION (stmt, pragma_loc); ^ /var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/c/c-parser.c: In function ‘void c_parser_oacc_declare(c_parser*)’: /var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/c/c-parser.c:14626:33: error: ‘claus’ was not declared in this scope OACC_DECLARE_CLAUSES (stmt) = claus SET_EXPR_LOCATION (stmt, pragma_loc); ^~~~~ /var/tmp/portage/sys-devel/gcc-8.3.0/work/gcc-8.3.0/gcc/c/c-parser.c:14626:33: note: suggested alternative: ‘class’ OACC_DECLARE_CLAUSES (stmt) = claus SET_EXPR_LOCATION (stmt, pragma_loc); ^~~~~ class
Created attachment 566252 [details] gcc-build-logs.tar.bz2
Created attachment 566254 [details] emerge-info.txt
> i686-pc-linux-gnu-g++-7.4.0 -std=gnu++98 -fno-PIE -c -fno-PIE > ... > 38: warning: null character(s) ignored > OACC_DECLARE_CLAUSES (stmt) = claus SET_EXPR_LOCATION (stmt, > pragma_loc); > ^ This looks like a memory corruption in host compiler. Could be a compiler bug or hardware bug. bug #667032 looked similar on sparc and happened to be very non-deterministic. If your bug is reproducible please extract preprocessed file using https://wiki.gentoo.org/wiki/Gcc-ICE-reporting-guide. If it's not reproducible then running single gcc command in a loop might allow triggering the problem in a somewhat reproducible manner. If it's not reproducible even then it's worth checking the hardware.
I'm trying a second time, I'll close the bug if it succeeds.
Indeed seems to be a hardware problem.