https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125105
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2026-04-30
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I belive sth is confused with respect to errno.
Found conditional dead call: _17 = __builtin_sqrt (norm_20);
t.c:11: note: function call is shrink-wrapped into error conditions.
the .ASSUME is gone in _optimize while present in the other, so the
condition is eliminated there.
I suppose tree-call-dce could use frange to prove positiveness.