[Bug tree-optimization/71050] [7 regression] test case gcc.target/powerpc/lhs-1.c fails starting with r236066

pthaugen at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu May 12 15:22:00 GMT 2016


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

--- Comment #9 from Pat Haugen <pthaugen at gcc dot gnu.org> ---
(In reply to Bill Schmidt from comment #8)
> The test is verifying that we force some nops in between a store and load
> when we know they alias, to mitigate the cost of the stall while the load
> tries to get the data out of the store queue.  The extra code here gets in
> the way of that, solving the problem another way.  Pat, any thoughts on
> whether the test can be rewritten some other way to force the nop insertion?

Sure, I can easily modify the testcase to just verify there is at least 1 'nop'
insn generated. Richi's patch made us go from 3 nops to 2 since an extra stfd
occurred between the store/load causing the LHS.


More information about the Gcc-bugs mailing list