https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65109

--- Comment #10 from Martin Sebor <msebor at gcc dot gnu.org> ---
Created attachment 34821
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=34821&action=edit
Patch to make the test less subject to register clobbering.

FWIW, I agree with Richard that the test is overly fragile.  I have attached
another patch that attempts to make the test more reliable by splitting up each
test function into two, one that does nothing but save the volatile registers
(thus reducing the risk of them getting clobbered by other code), and another
that then verifies their values.

Reply via email to