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

            Bug ID: 110137
           Summary: implement clang -fassume-sane-operator-new
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

clang seems to have -fassume-sane-operator-new which allows to assert that
a call to the operator has no side-effects besides the allocation, in
particular that it doesn't modify or inspect global memory.

Reply via email to