https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77718
--- Comment #5 from Aaron Sawdey ---
On Tue, 2016-09-27 at 14:30 +, bernds at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77718
>
> --- Comment #4 from Bernd Schmidt ---
> So something like this maybe?
>
> Index:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65391
--- Comment #3 from Aaron Sawdey acsawdey at linux dot vnet.ibm.com ---
I tried applying the patch that Thomas posted for 64616
(https://gcc.gnu.org/ml/gcc-patches/2015-03/msg00272.html) to trunk 221350 but
that did not change the generated code
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65391
--- Comment #2 from Aaron Sawdey acsawdey at linux dot vnet.ibm.com ---
Asm for the test case as in the description (load/store of *o_ptr for every
update):
compute_object_gain:
ld 9,0(3)
li 10,0
std 10,0(4)
cmpdi
Priority: P3
Component: middle-end
Assignee: unassigned at gcc dot gnu.org
Reporter: acsawdey at linux dot vnet.ibm.com
CC: dje at gcc dot gnu.org, pthaugen at us dot ibm.com
When compiling for powerpc64 or powerpc64le with -O3, a load and store of
*o_ptr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64586
--- Comment #5 from Aaron Sawdey acsawdey at linux dot vnet.ibm.com ---
This is also fixed by 219556.
: ipa
Assignee: unassigned at gcc dot gnu.org
Reporter: acsawdey at linux dot vnet.ibm.com
CC: bergner at vnet dot ibm.com, hubicka at ucw dot cz
Created attachment 34438
-- https://gcc.gnu.org/bugzilla/attachment.cgi?id=34438action=edit
preprocessed test case