[Bug target/65109] [5 Regression] r220674 causes FAIL: gcc.target/powerpc/ppc64-abi-1.c execution test
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 20 22:50:00 GMT 2015
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.
More information about the Gcc-bugs
mailing list