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

--- Comment #9 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Andrew Pinski from comment #8)
> See
> https://gcc.gnu.org/legacy-ml/gcc-patches/2009-05/msg01233.html
> and
> https://gcc.gnu.org/legacy-ml/gcc-patches/2009-09/msg00130.html

Nice find!

Yeah, same problem, but different solution.  I think the patch in  attachment
59210 is better, as in more robust, though.  It places the barrier much
earlier.  sched2 runs quite late and there are many places where a prefetch
hypothetically might get reordered before sched2.  IMO.

Reply via email to