lmi-commits
[Top][All Lists]
Advanced

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

[lmi-commits] [lmi] master 81fb57fe 1/4: Improve documentation


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 81fb57fe 1/4: Improve documentation
Date: Tue, 14 Jun 2022 20:25:29 -0400 (EDT)

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

    Improve documentation
---
 input_test.cpp | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/input_test.cpp b/input_test.cpp
index 9966169b..ea7f0308 100644
--- a/input_test.cpp
+++ b/input_test.cpp
@@ -172,7 +172,10 @@ void input_test::test_product_database()
     db.query_into(DB_ChildRiderMinAmt, a);
     LMI_TEST_EQUAL(25000, a);
 #endif // 0
-    // UBSAN doesn't complain about this; shouldn't it?
+    // UBSan complains about the example above, both with gcc and with
+    // clang. It complains about the next example only with clang, but
+    // not with gcc, even though the two examples are equivalent. See:
+    //   https://lists.nongnu.org/archive/html/lmi/2022-06/msg00049.html
     auto const b {db.query<oenum_alb_or_anb>(DB_ChildRiderMinAmt)};
     LMI_TEST_EQUAL(25000, b);
 



reply via email to

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