[Git][ghc/ghc][wip/supersven/riscv-increase-CI-happiness] Fix compiler warning about importing GHC.Utils.Panic.Plain in CodeGen.Platform.h

Sven Tennie (@supersven) gitlab at gitlab.haskell.org
Wed May 3 11:33:42 UTC 2023



Sven Tennie pushed to branch wip/supersven/riscv-increase-CI-happiness at Glasgow Haskell Compiler / GHC


Commits:
c5024bcb by Sven Tennie at 2023-05-03T11:32:39+00:00
Fix compiler warning about importing GHC.Utils.Panic.Plain in CodeGen.Platform.h

- - - - -


1 changed file:

- compiler/CodeGen.Platform.h


Changes:

=====================================
compiler/CodeGen.Platform.h
=====================================
@@ -1,7 +1,8 @@
 
 import GHC.Cmm.Expr
 #if !(defined(MACHREGS_i386) || defined(MACHREGS_x86_64) \
-    || defined(MACHREGS_powerpc) || defined(MACHREGS_aarch64))
+    || defined(MACHREGS_powerpc) || defined(MACHREGS_aarch64) \
+    || defined(MACHREGS_riscv64))
 import GHC.Utils.Panic.Plain
 #endif
 import GHC.Platform.Reg



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c5024bcbe41c5cab6429185fa4d65c67f87b8aa1

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c5024bcbe41c5cab6429185fa4d65c67f87b8aa1
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230503/57fb894c/attachment.html>


More information about the ghc-commits mailing list