https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109371
Bug ID: 109371 Summary: MIN_EXPR/MAX_EXPR and SMIN/SMAX trapping behavior is not documented Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: documentation, internal-improvement Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- I noticed while working on phi-opt, that MIN/MAX EXPR were actually not documented in generic.texi and even the behavior of trapping was not documented for RTL. There was a patch in 2019 about this: https://inbox.sourceware.org/gcc-patches/20190822134551.18924-2-...@linux.ibm.com/ But I am not sure where it ended up. Note I also wrote https://inbox.sourceware.org/gcc/CA+=sn1keyne62f6bj_hemfqnr_m1yokzrqupkdqtqswxfz0...@mail.gmail.com/T/#u asking about the behavior of trapping with respect to -ffinite-math-only too because that is where I noticed a difference in how different parts of phi-opt handle things even.