https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89494
--- Comment #14 from Piotr Kubaj <pkubaj at anongoth dot pl> --- Exact error for 10.0: In file included from /usr/ports/lang/gcc10-devel/work/gcc-10-20190825/libgcc/libgcc2.c:56: /usr/ports/lang/gcc10-devel/work/gcc-10-20190825/libgcc/libgcc2.c: In function '__multi3': /usr/ports/lang/gcc10-devel/work/gcc-10-20190825/libgcc/libgcc2.h:203:20: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in build_int_cst, at tree.c:1371 203 | #define __NDW(a,b) __ ## a ## ti ## b | ^~ /usr/ports/lang/gcc10-devel/work/gcc-10-20190825/libgcc/libgcc2.h:273:18: note: in expansion of macro '__NDW' 273 | #define __muldi3 __NDW(mul,3) | ^~~~~ /usr/ports/lang/gcc10-devel/work/gcc-10-20190825/libgcc/libgcc2.c:548:1: note: in expansion of macro '__muldi3' 548 | __muldi3 (DWtype u, DWtype v) | ^~~~~~~~