Hi, I see this now as well on Ubuntu 16.04, but I doubt that the Kernel is to blame.
I am able to reproduce this in debug-mode as follows: strace -s 4096 -o strace.txt expect -- /usr/share/dejagnu/runtest.exp --debug -v --tool gcc ubsan.exp=* So I have now a dbg.out and a strace log file showing what's going on when the bug happens. One test case that reliably Fails is c-c++-common/ubsan/overflow-mul-4.c strace sees the complete Output read in several 4K sized blocks, then a half-full block and then eof, so the complete message arrives but then a race condition seems to happen. so the following shows what happens while the spawn, two childs (test case&/bin/cat) die but the fifo (fileno 10) still has data to read out which works as expected but when the EOF is found the last part gets written to the log file (fileno 4), but is not used as test output. fcntl(10, F_GETFL) = 0 (flags O_RDONLY) fcntl(10, F_SETFL, O_RDONLY|O_NONBLOCK) = 0 fcntl(10, F_GETFL) = 0x800 (flags O_RDONLY|O_NONBLOCK) write(4, "spawn: returns {0}\r\n", 20) = 20 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16141, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=16142, si_uid=1000, si_status=0, si_utime=0, si_stime=0} --- write(4, "Gate keeper glob pattern for '.+'", 33) = 33 write(4, " is ''. Not usable, disabling the", 33) = 33 write(4, " performance booster.\n", 22) = 22 write(4, "\r\nexpect: does \"", 16) = 16 write(4, "\" (spawn_id exp10) match regular expression ", 44) = 44 write(4, "\"", 1) = 1 write(4, ".+", 2) = 2 write(4, "\"? ", 3) = 3 write(4, "(No Gate, RE only) gate=", 24) = 24 write(4, "yes re=", 7) = 7 write(4, "no\r\n", 4) = 4 write(9, "\0", 1) = 1 futex(0x7d08cc, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 3029, {1499793457, 287025000}, ffffffff) = 0 futex(0x7f2d85ae38e0, FUTEX_WAKE_PRIVATE, 1) = 0 read(10, "/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:20:3: runtime error: signed integer overflow: 1537228672809129302 * 6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:21:3: runtime error: signed integer overflow: -1537228672809129302 * -6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:22:3: runtime error: signed integer overflow: 1537228672809129302 * -6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:23:3: runtime error: signed integer overflow: -1537228672809129302 * 6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:24:3: runtime error: signed integer overflow: 2166572392 * 4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:25:3: runtime error: signed integer overflow: -2166572392 * -4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:26:3: runtime error: signed integer overflow: 2166572392 * -4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:27:3: runtime error: signed integer overflow: -2166572392 * 4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:28:3: runtime error: signed integer overflow: 1537228672809129301 * 7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:29:3: runtime error: signed integer overflow: -1537228672809129301 * -7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:30:3: runtime error: signed integer overflow: 1537228672809129301 * -7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:31:3: runtime error: signed integer overflow: -1537228672809129301 * 7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:32:3: runtime error: signed integer overflow: 2166572391 * 4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:33:3: runtime error: signed integer overflow: -2166572391 * -4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:34:3: runtime error: signed integer overflow: 2166572391 * -4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:35:3: runtime error: signed integer overflow: -2166572391 * 4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:36:3: runtime error: signed integer overflow: 6 * 1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:37:3: runtime error: signed integer overflow: -6 * -1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:38:3: runtime error: signed integer overflow: -6 * 1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:39:3: runtime error: signed integer overflow: 6 * -1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:40:3: runtime error: signed integer overflow: 4257126175 * 2166572392 cannot be represented in type 'long long int'\n/h", 4096) = 4096 read(10, "ome/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:41:3: runtime error: signed integer overflow: -4257126175 * -2166572392 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:42:3: runtime error: signed integer overflow: -4257126175 * 2166572392 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:43:3: runtime error: signed integer overflow: 4257126175 * -2166572392 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:44:3: runtime error: signed integer overflow: 7 * 1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:45:3: runtime error: signed integer overflow: -7 * -1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:46:3: runtime error: signed integer overflow: -7 * 1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:47:3: runtime error: signed integer overflow: 7 * -1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:48:3: runtime error: signed integer overflow: 4257126176 * 2166572391 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:49:3: runtime error: signed integer overflow: -4257126176 * -2166572391 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:50:3: runtime error: signed integer overflow: -4257126176 * 2166572391 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:51:3: runtime error: signed integer overflow: 4257126176 * -2166572391 cannot be represented in type 'long long int'\n", 4096) = 2144 write(6, "/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:20:3: runtime error: signed integer overflow: 1537228672809129302 * 6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:21:3: runtime error: signed integer overflow: -1537228672809129302 * -6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:22:3: runtime error: signed integer overflow: 1537228672809129302 * -6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:23:3: runtime error: signed integer overflow: -1537228672809129302 * 6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:24:3: runtime error: signed integer overflow: 2166572392 * 4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:25:3: runtime error: signed integer overflow: -2166572392 * -4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:26:3: runtime error: signed integer overflow: 2166572392 * -4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:27:3: runtime error: signed integer overflow: -2166572392 * 4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:28:3: runtime error: signed integer overflow: 1537228672809129301 * 7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:29:3: runtime error: signed integer overflow: -1537228672809129301 * -7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:30:3: runtime error: signed integer overflow: 1537228672809129301 * -7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:31:3: runtime error: signed integer overflow: -1537228672809129301 * 7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:32:3: runtime error: signed integer overflow: 2166572391 * 4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:33:3: runtime error: signed integer overflow: -2166572391 * -4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:34:3: runtime error: signed integer overflow: 2166572391 * -4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:35:3: runtime error: signed integer overflow: -2166572391 * 4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:36:3: runtime error: signed integer overflow: 6 * 1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:37:3: runtime error: signed integer overflow: -6 * -1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:38:3: runtime error: signed integer overflow: -6 * 1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:39:3: runtime error: signed integer overflow: 6 * -1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:40:3: runtime error: signed integer overflow: 4257126175 * 2166572392 cannot be represented in type 'long long int'\n/h", 4096) = 4096 write(6, "ome/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:41:3: runtime error: signed integer overflow: -4257126175 * -2166572392 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:42:3: runtime error: signed integer overflow: -4257126175 * 2166572392 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:43:3: runtime error: signed integer overflow: 4257126175 * -2166572392 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:44:3: runtime error: signed integer overflow: 7 * 1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:45:3: runtime error: signed integer overflow: -7 * -1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:46:3: runtime error: signed integer overflow: -7 * 1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:47:3: runtime error: signed integer overflow: 7 * -1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:48:3: runtime error: signed integer overflow: 4257126176 * 2166572391 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:49:3: runtime error: signed integer overflow: -4257126176 * -2166572391 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:50:3: runtime error: signed integer overflow: -4257126176 * 2166572391 ca", 1905) = 1905 write(4, "/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:20:3: runtime error: signed integer overflow: 1537228672809129302 * 6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:21:3: runtime error: signed integer overflow: -1537228672809129302 * -6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:22:3: runtime error: signed integer overflow: 1537228672809129302 * -6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:23:3: runtime error: signed integer overflow: -1537228672809129302 * 6 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:24:3: runtime error: signed integer overflow: 2166572392 * 4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:25:3: runtime error: signed integer overflow: -2166572392 * -4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:26:3: runtime error: signed integer overflow: 2166572392 * -4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:27:3: runtime error: signed integer overflow: -2166572392 * 4257126175 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:28:3: runtime error: signed integer overflow: 1537228672809129301 * 7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:29:3: runtime error: signed integer overflow: -1537228672809129301 * -7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:30:3: runtime error: signed integer overflow: 1537228672809129301 * -7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:31:3: runtime error: signed integer overflow: -1537228672809129301 * 7 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:32:3: runtime error: signed integer overflow: 2166572391 * 4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:33:3: runtime error: signed integer overflow: -2166572391 * -4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:34:3: runtime error: signed integer overflow: 2166572391 * -4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:35:3: runtime error: signed integer overflow: -2166572391 * 4257126176 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:36:3: runtime error: signed integer overflow: 6 * 1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:37:3: runtime error: signed integer overflow: -6 * -1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:38:3: runtime error: signed integer overflow: -6 * 1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:39:3: runtime error: signed integer overflow: 6 * -1537228672809129302 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:40:3: runtime error: signed integer overflow: 4257126175 * 2166572392 cannot be represented in type 'long long int'\n/h", 4096) = 4096 write(4, "ome/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:41:3: runtime error: signed integer overflow: -4257126175 * -2166572392 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:42:3: runtime error: signed integer overflow: -4257126175 * 2166572392 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:43:3: runtime error: signed integer overflow: 4257126175 * -2166572392 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:44:3: runtime error: signed integer overflow: 7 * 1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:45:3: runtime error: signed integer overflow: -7 * -1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:46:3: runtime error: signed integer overflow: -7 * 1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:47:3: runtime error: signed integer overflow: 7 * -1537228672809129301 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:48:3: runtime error: signed integer overflow: 4257126176 * 2166572391 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:49:3: runtime error: signed integer overflow: -4257126176 * -2166572391 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:50:3: runtime error: signed integer overflow: -4257126176 * 2166572391 ca", 1905) = 1905 write(4, "\r\nexpect: does \"", 16) = 16 write(4, "/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:20:3: runtime error: signed integer overflow: 1537228672809129302 * 6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:21:3: runtime error: signed integer overflow: -1537228672809129302 * -6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:22:3: runtime error: signed integer overflow: 1537228672809129302 * -6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:23:3: runtime error: signed integer overflow: -1537228672809129302 * 6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:24:3: runtime error: signed integer overflow: 2166572392 * 4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:25:3: runtime error: signed integer overflow: -2166572392 * -4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:26:3: runtime error: signed integer overflow: 2166572392 * -4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:27:3: runtime error: signed integer overflow: -2166572392 * 4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:28:3: runtime error: signed integer overflow: 1537228672809129301 * 7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:29:3: runtime error: signed integer overflow: -1537228672809129301 * -7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:30:3: runtime error: signed integer overflow: 1537228672809129301 * -7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:31:3: runtime error: signed integer overflow: -1537228672809129301 * 7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:32:3: runtime error: signed integer overflow: 2166572391 * 4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:33:3: runtime error: signed integer overflow: -2166572391 * -4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:34:3: runtime error: signed integer overflow: 2166572391 * -4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:35:3: runtime error: signed integer overflow: -2166572391 * 4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:36:3: runtime error: signed integer overflow: 6 * 1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:37:3: runtime error: signed integer overflow: -6 * -1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:38:3: runtime error: signed integer overflow: -6 * 1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:39:3: runtime error: signed integer overflow: 6 * -1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:40:3: runtime error: signed integer overflow: 4257126175 * 2166572392 cannot be represented in typ", 4096) = 4096 write(4, "e 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:41:3: runtime error: signed integer overflow: -4257126175 * -2166572392 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:42:3: runtime error: signed integer overflow: -4257126175 * 2166572392 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:43:3: runtime error: signed integer overflow: 4257126175 * -2166572392 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:44:3: runtime error: signed integer overflow: 7 * 1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:45:3: runtime error: signed integer overflow: -7 * -1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:46:3: runtime error: signed integer overflow: -7 * 1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:47:3: runtime error: signed integer overflow: 7 * -1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:48:3: runtime error: signed integer overflow: 4257126176 * 2166572391 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:49:3: runtime error: signed integer overflow: -4257126176 * -2166572391 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:50:3: runtime error: signed integer overflow: -4257126176 * 2166572391 ca", 1935) = 1935 write(4, "\" (spawn_id exp10) match regular expression ", 44) = 44 write(4, "\"", 1) = 1 write(4, ".+", 2) = 2 write(4, "\"? ", 3) = 3 write(4, "(No Gate, RE only) gate=", 24) = 24 write(4, "yes re=", 7) = 7 write(4, "yes\r\n", 5) = 5 write(4, "expect: set expect_out(0,string) \"", 34) = 34 write(4, "/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:20:3: runtime error: signed integer overflow: 1537228672809129302 * 6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:21:3: runtime error: signed integer overflow: -1537228672809129302 * -6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:22:3: runtime error: signed integer overflow: 1537228672809129302 * -6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:23:3: runtime error: signed integer overflow: -1537228672809129302 * 6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:24:3: runtime error: signed integer overflow: 2166572392 * 4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:25:3: runtime error: signed integer overflow: -2166572392 * -4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:26:3: runtime error: signed integer overflow: 2166572392 * -4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:27:3: runtime error: signed integer overflow: -2166572392 * 4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:28:3: runtime error: signed integer overflow: 1537228672809129301 * 7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:29:3: runtime error: signed integer overflow: -1537228672809129301 * -7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:30:3: runtime error: signed integer overflow: 1537228672809129301 * -7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:31:3: runtime error: signed integer overflow: -1537228672809129301 * 7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:32:3: runtime error: signed integer overflow: 2166572391 * 4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:33:3: runtime error: signed integer overflow: -2166572391 * -4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:34:3: runtime error: signed integer overflow: 2166572391 * -4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:35:3: runtime error: signed integer overflow: -2166572391 * 4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:36:3: runtime error: signed integer overflow: 6 * 1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:37:3: runtime error: signed integer overflow: -6 * -1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:38:3: runtime error: signed integer overflow: -6 * 1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:39:3: runtime error: signed integer overflow: 6 * -1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:40:3: runtime error: signed integer overflow: 4257126175 * 2166572392 cannot be represented in typ", 4096) = 4096 write(4, "e 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:41:3: runtime error: signed integer overflow: -4257126175 * -2166572392 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:42:3: runtime error: signed integer overflow: -4257126175 * 2166572392 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:43:3: runtime error: signed integer overflow: 4257126175 * -2166572392 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:44:3: runtime error: signed integer overflow: 7 * 1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:45:3: runtime error: signed integer overflow: -7 * -1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:46:3: runtime error: signed integer overflow: -7 * 1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:47:3: runtime error: signed integer overflow: 7 * -1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:48:3: runtime error: signed integer overflow: 4257126176 * 2166572391 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:49:3: runtime error: signed integer overflow: -4257126176 * -2166572391 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:50:3: runtime error: signed integer overflow: -4257126176 * 2166572391 ca", 1935) = 1935 write(4, "\"\r\n", 3) = 3 write(4, "expect: set expect_out(spawn_id) \"", 34) = 34 write(4, "exp10", 5) = 5 write(4, "\"\r\n", 3) = 3 write(4, "expect: set expect_out(buffer) \"", 32) = 32 write(4, "/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:20:3: runtime error: signed integer overflow: 1537228672809129302 * 6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:21:3: runtime error: signed integer overflow: -1537228672809129302 * -6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:22:3: runtime error: signed integer overflow: 1537228672809129302 * -6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:23:3: runtime error: signed integer overflow: -1537228672809129302 * 6 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:24:3: runtime error: signed integer overflow: 2166572392 * 4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:25:3: runtime error: signed integer overflow: -2166572392 * -4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:26:3: runtime error: signed integer overflow: 2166572392 * -4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:27:3: runtime error: signed integer overflow: -2166572392 * 4257126175 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:28:3: runtime error: signed integer overflow: 1537228672809129301 * 7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:29:3: runtime error: signed integer overflow: -1537228672809129301 * -7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:30:3: runtime error: signed integer overflow: 1537228672809129301 * -7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:31:3: runtime error: signed integer overflow: -1537228672809129301 * 7 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:32:3: runtime error: signed integer overflow: 2166572391 * 4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:33:3: runtime error: signed integer overflow: -2166572391 * -4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:34:3: runtime error: signed integer overflow: 2166572391 * -4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:35:3: runtime error: signed integer overflow: -2166572391 * 4257126176 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:36:3: runtime error: signed integer overflow: 6 * 1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:37:3: runtime error: signed integer overflow: -6 * -1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:38:3: runtime error: signed integer overflow: -6 * 1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:39:3: runtime error: signed integer overflow: 6 * -1537228672809129302 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:40:3: runtime error: signed integer overflow: 4257126175 * 2166572392 cannot be represented in typ", 4096) = 4096 write(4, "e 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:41:3: runtime error: signed integer overflow: -4257126175 * -2166572392 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:42:3: runtime error: signed integer overflow: -4257126175 * 2166572392 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:43:3: runtime error: signed integer overflow: 4257126175 * -2166572392 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:44:3: runtime error: signed integer overflow: 7 * 1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:45:3: runtime error: signed integer overflow: -7 * -1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:46:3: runtime error: signed integer overflow: -7 * 1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:47:3: runtime error: signed integer overflow: 7 * -1537228672809129301 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:48:3: runtime error: signed integer overflow: 4257126176 * 2166572391 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:49:3: runtime error: signed integer overflow: -4257126176 * -2166572391 cannot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:50:3: runtime error: signed integer overflow: -4257126176 * 2166572391 ca", 1935) = 1935 write(4, "\"\r\n", 3) = 3 write(4, "expect: continuing expect\r\n", 27) = 27 write(4, "\r\nexpect: does \"", 16) = 16 write(4, "\" (spawn_id exp10) match regular expression ", 44) = 44 write(4, "\"", 1) = 1 write(4, ".+", 2) = 2 write(4, "\"? ", 3) = 3 write(4, "(No Gate, RE only) gate=", 24) = 24 write(4, "yes re=", 7) = 7 write(4, "no\r\n", 4) = 4 write(9, "\0", 1) = 1 futex(0x7d08cc, FUTEX_WAIT_PRIVATE, 3031, NULL) = 0 futex(0x7f2d85ae38e0, FUTEX_WAKE_PRIVATE, 1) = 0 read(10, "", 4096) = 0 write(4, "expect: read eof\r\n", 18) = 18 write(4, "expect: set expect_out(spawn_id) \"", 34) = 34 write(4, "exp10", 5) = 5 write(4, "\"\r\n", 3) = 3 write(4, "expect: set expect_out(buffer) \"", 32) = 32 write(4, "nnot be represented in type 'long long int'\\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:51:3: runtime error: signed integer overflow: 4257126176 * -2166572391 cannot be represented in type 'long long int'\\n", 241) = 241 write(4, "\"\r\n", 3) = 3 fcntl(10, F_GETFL) = 0x800 (flags O_RDONLY|O_NONBLOCK) fcntl(10, F_SETFL, O_RDONLY) = 0 fcntl(10, F_GETFL) = 0 (flags O_RDONLY) close(10) = 0 open("/dev/null", O_RDONLY) = 10 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 write(4, "exp10 file7\n", 12) = 12 write(6, "exp10 file7\n", 12) = 12 write(1, "exp10 file7\n", 12) = 12 close(10) = 0 close(7) = 0 ioctl(11, TCGETS, 0x7fff795ca6b0) = -1 ENOTTY (Inappropriate ioctl for device) getsockname(11, 0x7fff795ca750, 0x7fff795ca74c) = -1 ENOTSOCK (Socket operation on non-socket) wait4(16141, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16141 wait4(16142, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 16142 lseek(11, 0, SEEK_SET) = 0 read(11, "", 4096) = 0 close(11) = 0 write(5, "PASS: c-c++-common/ubsan/overflow-mul-4.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test\n", 141) = 141 write(4, "PASS: c-c++-common/ubsan/overflow-mul-4.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test\n", 141) = 141 write(6, "PASS: c-c++-common/ubsan/overflow-mul-4.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions execution test\n", 141) = 141 write(5, "FAIL: c-c++-common/ubsan/overflow-mul-4.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions output pattern test\n", 146) = 146 write(4, "FAIL: c-c++-common/ubsan/overflow-mul-4.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions output pattern test\n", 146) = 146 write(6, "FAIL: c-c++-common/ubsan/overflow-mul-4.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions output pattern test\n", 146) = 146 write(1, "FAIL: c-c++-common/ubsan/overflow-mul-4.c -O3 -fomit-frame-pointer -funroll-loops -fpeel-loops -ftracer -finline-functions output pattern test\n", 146) = 146 In dbg.log it looks like this: d integer overflow: 4257126176 * 2166572391 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:49:3: runtime error: signed integer overflow: -4257126176 * -2166572391 cannot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:50:3: runtime error: signed integer overflow: -4257126176 * 2166572391 ca"^M expect: continuing expect^M ^M expect: does "" (spawn_id exp10) match regular expression ".+"? (No Gate, RE only) gate=yes re=no^M expect: read eof^M expect: set expect_out(spawn_id) "exp10"^M expect: set expect_out(buffer) "nnot be represented in type 'long long int'\n/home/ed/gnu/gcc-8-20170709/gcc/testsuite/c-c++-common/ubsan/overflow-mul-4.c:51:3: runtime error: signed integer overflow: 4257126176 * -2166572391 cannot be represented in type 'long long int'\n"^M exp10 file7 PASS: c-c++-common/ubsan/overflow-mul-4.c -O3 -g execution test FAIL: c-c++-common/ubsan/overflow-mul-4.c -O3 -g output pattern test Output was: c-c++-common/ubsan/overflow-mul-4.c:20:3: runtime error: signed integer overflow: 1537228672809129302 * 6 cannot be represented in type 'long long int' c-c++-common/ubsan/overflow-mul-4.c:21:3: runtime error: signed integer overflow: -1537228672809129302 * -6 cannot be represented in type 'long long int Any ideas what that means? Thanks Bernd.