https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116341

Xi Ruoyao <xry111 at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=113159
                 CC|                            |xry111 at gcc dot gnu.org

--- Comment #2 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
The comparator is not a weak order, thus the behavior is undefined.

Dup of PR113159 (an enhancement request to avoid OOB access even with such a
silly comparator) but note that it's not a bug, it's just an enhancement
request.

*** This bug has been marked as a duplicate of bug 113159 ***

Reply via email to