Skip to content
  • Ben Gamari's avatar
    rts: Add FALLTHROUGH macro · 6bb8aaa3
    Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
    Instead of using the GCC `/* fallthrough */` syntax we now use the
    `__attribute__((fallthrough))`, which Phyx says should be more portable
    than the former.
    
    Also adds a missing fallthrough annotation in the MachO linker,
    fixing #14613.
    
    Reviewers: erikd, simonmar
    
    Reviewed By: simonmar
    
    Subscribers: rwbarton, carter
    
    GHC Trac Issues: #14613
    
    Differential Revision: https://phabricator.haskell.org/D5292
    6bb8aaa3