Skip to content

x86_64: Fix to tw8573 overflow bug under -Cg option

J. Gareth "Kit" Moreton requested to merge CuriousKit/optimisations:tw8573 into main

This merge request fixes an overflow bug in the tw8573 test that occurs under Darwin or when -Cg is specified in Linux. A secondary test named tw8573a includes the -Cg and -O2 options that reproduced the error under Linux (-Cg is ignored on Windows).

Criteria

Confirm correct compilation, no test regressions, and new test passes.

Notes

Not reproducible under x86_64-win64 because -Cg is ignored on this platform, although the test should still pass.

Merge request reports