The code changes look good, but I think the test would be better if it used the check-function-bodies machinery to do an exact match for the expected assembly. It would make it clearer to show what the effect of the patch is
-- https://forge.sourceware.org/gcc/gcc/pulls/284#issuecomment-8349
