Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/lint1 lint: do not evaluate arguments of debug...
details: https://anonhg.NetBSD.org/src/rev/86b2c5f7f470
branches: trunk
changeset: 984930:86b2c5f7f470
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Jul 31 19:12:35 2021 +0000
description:
lint: do not evaluate arguments of debug_step
To analyze the unexpected test failure of op_shl_lp64, I had reverted
debug_step to evaluate its arguments. I then accidentally committed
that without running the tests again.
Anyway, the previous commit can now be used as a demonstration that
initdecl is indeed missing the initialization for __uint128_t, which
leads to the internal error in op_shl_lp64.
diffstat:
usr.bin/xlint/lint1/externs1.h | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (19 lines):
diff -r 4f5cb6eebf9b -r 86b2c5f7f470 usr.bin/xlint/lint1/externs1.h
--- a/usr.bin/xlint/lint1/externs1.h Sat Jul 31 19:07:52 2021 +0000
+++ b/usr.bin/xlint/lint1/externs1.h Sat Jul 31 19:12:35 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: externs1.h,v 1.125 2021/07/31 19:07:52 rillig Exp $ */
+/* $NetBSD: externs1.h,v 1.126 2021/07/31 19:12:35 rillig Exp $ */
/*
* Copyright (c) 1994, 1995 Jochen Pohl
@@ -131,8 +131,7 @@
#define debug_node(tn, indent) debug_noop()
#define debug_printf(...) debug_noop()
#define debug_indent() debug_noop()
-static inline void __printflike(1, 2) debug_step(const char *fmt, ...) {}
-/*#define debug_step(...) debug_noop()*/
+#define debug_step(...) debug_noop()
#define debug_indent() debug_noop()
#define debug_indent_inc() debug_noop()
#define debug_indent_dec() debug_noop()
Home |
Main Index |
Thread Index |
Old Index