product_small_32 fails with GCC 10

Summary

Environment

  • Operating System : Windows/Linux
  • Architecture : x64 ...
  • Eigen Version : master (3.5)
  • Compiler Version : Gcc10.0
  • Compile Flags : -O3
  • Vector Extension : SSE

Steps to reproduce

cmake -DEIGEN_TEST_CXX11=ON ../eigen
 ./check.sh product_small

What is the current bug behavior?

The test product_small_32 fails with GCC 10.

What is the expected correct behavior?

The test passing.

Relevant logs

ctest -V -R product_small_32
UpdateCTestConfiguration  from :/usr/local/google/home/rmlarsen/eigen/rmlarsen/build/DartConfiguration.tcl
Parse Config file:/usr/local/google/home/rmlarsen/eigen/rmlarsen/build/DartConfiguration.tcl
 Add coverage exclude regular expressions.
UpdateCTestConfiguration  from :/usr/local/google/home/rmlarsen/eigen/rmlarsen/build/DartConfiguration.tcl
Parse Config file:/usr/local/google/home/rmlarsen/eigen/rmlarsen/build/DartConfiguration.tcl
Test project /usr/local/google/home/rmlarsen/eigen/rmlarsen/build
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 144
    Start 144: product_small_32

144: Test command: /usr/local/google/home/rmlarsen/eigen/rmlarsen/build/test/product_small_32
144: Test timeout computed to be: 1500
144: Initializing random number generator with seed 1631819146
144: Repeating each test 10 times
144: Difference too large wrt tolerance 0.001, relative error is: 1.23784
144: Test ( test_lazy_single<T,Rows,Cols,Depth,ColMajor,ColMajor,ColMajor>(rows,cols,depth) ) failed in /usr/local/google/home/rmlarsen/eigen/rmlarsen/eigen/test/product_small.cpp (56)
144:     verifyIsApprox(C+=A.lazyProduct(B), ref_prod(D,A,B))
144: Stack:
144:   - ( test_lazy_single<T,Rows,Cols,Depth,ColMajor,ColMajor,ColMajor>(rows,cols,depth) )
144:   - ( test_lazy_all_layout<T,4,1,5>() )
144:   - test_lazy_l2<std::complex<float> >()
144:   - product_small
144:   - Seed: 1631819146
144: 
1/1 Test #144: product_small_32 .................Child aborted***Exception:   0.00 sec

0% tests passed, 1 tests failed out of 1

Label Time Summary:
Official    =   0.00 sec*proc (1 test)

Total Test time (real) =   0.03 sec

The following tests FAILED:
	144 - product_small_32 (Child aborted)