Skip to content
Snippets Groups Projects
Commit 5f15d53a authored by Simon Marlow's avatar Simon Marlow
Browse files

Add /* fallthrough */ to fix -Wimplicit-fallthrough warning

parent b701e475
No related merge requests found
......@@ -1722,9 +1722,11 @@ scavenge_static(void)
case FUN_STATIC:
scavenge_fun_srt(info);
// fallthrough: a FUN_STATIC can also be an SRT, so it may have pointer
// fields. See Note [SRTs] in CmmBuildInfoTables, specifically the [FUN]
// optimisation.
/* fallthrough */
// a FUN_STATIC can also be an SRT, so it may have pointer
// fields. See Note [SRTs] in CmmBuildInfoTables, specifically
// the [FUN] optimisation.
case CONSTR:
case CONSTR_NOCAF:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment