https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98678
Bug ID: 98678
Summary: 30_threads/future/members/poll.cc execution test FAILs
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
Target Milestone: ---
Target: i386-pc-solaris2.11, x86_64-pc-solaris2.11,
arm-none-linux-gnueabi, hppa-unknown-linux-gnu,
x86_64-pc-linux-gnu
The 30_threads/future/members/poll.cc reliably FAILs on 32 and 64-bit
Solaris/x86:
/vol/gcc/src/hg/master/local/libstdc++-v3/testsuite/30_threads/future/members/poll.cc:95:
int main(): Assertion 'wait_until_sys_min < (ready * 100)' failed.
wait_for(0s): 11892ns for 200 calls, avg 59.46ns per call
wait_until(system_clock minimum): 1304458ns for 200 calls, avg 6522.29ns per
call
wait_until(steady_clock minimum): 1403221ns for 200 calls, avg 7016.1ns per
call
wait_until(system_clock epoch): 3343806ns for 200 calls, avg 16719ns per call
wait_until(steady_clock epoch: 2959581ns for 200 calls, avg 14797.9ns per call
wait_for when ready: 10969ns for 200 calls, avg 54.845ns per call
While I don't see the failure on Solaris/SPARC, there are reports for a couple
of other targets on gcc-testresults. However, the Linux/x86_64 ones seem to
only affect the gcc-10 branch.