Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/stand/boot2440 Inform compiler that the vola...
details: https://anonhg.NetBSD.org/src/rev/737bfb713038
branches: trunk
changeset: 325034:737bfb713038
user: joerg <joerg%NetBSD.org@localhost>
date: Sun Dec 01 02:52:53 2013 +0000
description:
Inform compiler that the volatile assignment will terminate the function.
diffstat:
sys/arch/evbarm/stand/boot2440/main.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r 4a7f8a36e01d -r 737bfb713038 sys/arch/evbarm/stand/boot2440/main.c
--- a/sys/arch/evbarm/stand/boot2440/main.c Sun Dec 01 02:34:54 2013 +0000
+++ b/sys/arch/evbarm/stand/boot2440/main.c Sun Dec 01 02:52:53 2013 +0000
@@ -498,6 +498,7 @@
*(volatile uint32_t *)(S3C2440_WDT_BASE + WDT_WTCON) =
(0 << WTCON_PRESCALE_SHIFT) | WTCON_ENABLE |
WTCON_CLKSEL_16 | WTCON_ENRST;
+ __builtin_unreachable();
}
void
Home |
Main Index |
Thread Index |
Old Index