
#11395: The via-C code generation backend is incompatible with gcc 5.3.1 on m68k (ELF) --------------------------------------------+------------------------------ Reporter: mkarcher | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: Linux | Architecture: m68k Type of failure: GHC doesn't work at all | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | --------------------------------------------+------------------------------ Comment (by glaubitz): Another m68k porter showed me today that this bug isn't unique to ghcb but was also found in Erlang:
http://www.grep.be/blog/en/computer/debian/m68k/broken_c_code/ https://lists.debian.org/debian-68k/2007/12/msg00078.html
Wouter's analysis confirms what has being sad in this bug report. The code in question is basically violating the C standard and the fact that it doesn't result in problems is just luck. Who knows we might have new architectures or compilers in the future which will behave differently and therefore this bug might become visible again unless it is fixed. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11395#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler