https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57612
David L. <equinox-gccbugs at diac24 dot net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |equinox-gccbugs at diac24 dot net --- Comment #5 from David L. <equinox-gccbugs at diac24 dot net> --- I would like to "third" this request. In my head I was thinking of a "__builtin_warn_side_effects(x[, "extra warning text"])" that returns the value of x, but if the parameter does not actually get evaluated a "__builtin_pure_p(x)" test returning 0/1 works too I guess.