On 29.04.2021 15:22, Costin Lupu wrote: > On 4/29/21 3:40 PM, Jan Beulich wrote: >> If there is a specific case where the compiler fails to DCE the >> offending code, then you need to describe this in sufficient >> detail. > > Yes, indeed. My bad, it is for a debug build with -O0, so without DCE.
Iirc there's a series pending to switch to -Og; I don't think we build with -O0 under any circumstances (for this very reason). Jan