https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102306
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |segher at gcc dot gnu.org --- Comment #7 from Segher Boessenkool <segher at gcc dot gnu.org> --- (In reply to Eric Botcazou from comment #3) > This should probably have been prevented in two different ways: 1) the > volatile load and 2) the equal cost for a 2->2 combination. No, it is equal cost, but fewer dependencies; it is lower latency. This is how all costing in combine works. 1) of course *is* a problem.