lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 6896ec57 03/17: Explain uniformly why pointer


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 6896ec57 03/17: Explain uniformly why pointer-{compare, subtract} aren't used
Date: Sat, 2 Jul 2022 21:42:14 -0400 (EDT)

branch: master
commit 6896ec57fde2535b989bb5af2eba753f566dd3d7
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Explain uniformly why pointer-{compare,subtract} aren't used
---
 compiler_clang.make | 3 ++-
 compiler_gcc.make   | 4 ++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/compiler_clang.make b/compiler_clang.make
index 47ebb5c1..48770783 100644
--- a/compiler_clang.make
+++ b/compiler_clang.make
@@ -80,7 +80,8 @@ tutelary_flag :=
 #
 # These:
 #   pointer-compare,pointer-subtract
-# seem to be unusable with C++.
+# aren't "production-ready"--see:
+#   https://lists.nongnu.org/archive/html/lmi/2022-06/msg00037.html
 
 ubsan_options := \
   -fsanitize=address,undefined,float-divide-by-zero,float-cast-overflow \
diff --git a/compiler_gcc.make b/compiler_gcc.make
index 907eea04..ff3677e4 100644
--- a/compiler_gcc.make
+++ b/compiler_gcc.make
@@ -80,8 +80,8 @@ tutelary_flag :=
 #
 # These:
 #   pointer-compare,pointer-subtract
-# aren't necessarily usable with gcc--see:
-#   https://lists.nongnu.org/archive/html/lmi/2022-06/msg00033.html
+# aren't "production-ready"--see:
+#   https://lists.nongnu.org/archive/html/lmi/2022-06/msg00037.html
 
 ubsan_options := \
   
-fsanitize=address,undefined,float-divide-by-zero,float-cast-overflow,bounds-strict
 \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]