This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[PATCH] Amend fallback comment to work with newer gcc
- From: Siddhesh Poyarekar <siddhesh at gotplt dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 27 Jan 2020 12:56:22 +0530
- Subject: [PATCH] Amend fallback comment to work with newer gcc
Newer gcc does not recognize the fallthrough comment due to the text
following the fallthrough keyword. The "see above" doesn't seem too
valuable, so this patch drops it to fix the build.
---
runtime/unwind/unwind.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/unwind/unwind.h b/runtime/unwind/unwind.h
index e5a5921ed..7fbe7cc61 100644
--- a/runtime/unwind/unwind.h
+++ b/runtime/unwind/unwind.h
@@ -160,7 +160,7 @@ static unsigned long read_ptr_sect(const u8 **pLoc, const void *end,
#else
BUILD_BUG_ON(sizeof(u32) != sizeof(value));
#endif
- /* fallthrough, see above. */
+ /* fallthrough */
case DW_EH_PE_absptr:
if (compat_task)
{
--
2.24.1