From 3b01b2b15a28558ec411561567ebe211eaa1e3a8 Mon Sep 17 00:00:00 2001 From: Sven Tennie Date: Mon, 12 Oct 2020 16:36:30 +0200 Subject: Fix linting issue: Incomplete pattern match --- compiler/GHC/CmmToAsm.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/GHC/CmmToAsm.hs b/compiler/GHC/CmmToAsm.hs index 7112d603b6..f75eaa5e1e 100644 --- a/compiler/GHC/CmmToAsm.hs +++ b/compiler/GHC/CmmToAsm.hs @@ -170,6 +170,7 @@ nativeCodeGen dflags this_mod modLoc h us cmms ArchAlpha -> panic "nativeCodeGen: No NCG for Alpha" ArchMipseb -> panic "nativeCodeGen: No NCG for mipseb" ArchMipsel -> panic "nativeCodeGen: No NCG for mipsel" + ArchRiscV64 -> panic "nativeCodeGen: No NCG for RiscV64" ArchUnknown -> panic "nativeCodeGen: No NCG for unknown arch" ArchJavaScript-> panic "nativeCodeGen: No NCG for JavaScript" @@ -1194,4 +1195,3 @@ initNCGConfig dflags = NCGConfig , ncgDwarfUnwindings = debugLevel dflags >= 1 , ncgDwarfStripBlockInfo = debugLevel dflags < 2 -- We strip out block information when running with -g0 or -g1. } - -- cgit v1.2.1