Skip to content
  • Alan Modra's avatar
    Work around gcc10 FAIL: S-records with constructors · fdbc0dd5
    Alan Modra authored
    gcc10 on x86_64 and powerpc64le recognises that the loop in
    Foo::operator= can be turned into a call to memmove, which then
    results in an undefined symbol when linking.  Avoid that by making the
    loop smaller.
    
    	* testsuite/ld-srec/sr3.cc (FOO_MSG_LEN): Set to 4.
    
    (cherry picked from commit a13ba308)
    fdbc0dd5