https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116713
pietro <pietro.gcc at sociotechnical dot xyz> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pietro.gcc at sociotechnical dot x | |yz --- Comment #1 from pietro <pietro.gcc at sociotechnical dot xyz> --- (In reply to Oleg Endo from comment #0) > In some cases __builtin_prefetch will be eliminated and thus it can't be > reliably used for SH4 store queue writes. > > An example here: https://godbolt.org/z/TGsed8cnq It doesn't get eliminated on SH2A/SH3/SH4 on that example. It does get moved to before the writes to sq_part between O1 and O2 though: https://godbolt.org/z/sP8PPKz3K