[GHC] #15237: New SRT scheme breaks -fvia-C
GHC
ghc-devs at haskell.org
Thu Jun 14 14:05:37 UTC 2018
#15237: New SRT scheme breaks -fvia-C
-------------------------------------+-------------------------------------
Reporter: bgamari | Owner: (none)
Type: bug | Status: new
Priority: high | Milestone: 8.6.1
Component: Compiler | Version: 8.4.3
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4837
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari <ben@…>):
In [changeset:"0238a6c78102d43dae2f56192bd3486e4f9ecf1d/ghc" 0238a6c/ghc]:
{{{
#!CommitTicketReference repository="ghc"
revision="0238a6c78102d43dae2f56192bd3486e4f9ecf1d"
UNREG: PprC: add support for of W32 literals
Today UNREG build fails to generate sub-word literals:
```
rts_dist_HC rts/dist/build/StgStartup.o
ghc-stage1: panic! (the 'impossible' happened)
(GHC version 8.5.20180612 for x86_64-unknown-linux):
pprStatics: cannot emit a non-word-sized static literal
W32
```
The change allows combining two subwords into one word.
Signed-off-by: Sergei Trofimovich <slyfox at gentoo.org>
Reviewers: simonmar, bgamari
Reviewed By: bgamari
Subscribers: rwbarton, thomie, carter
GHC Trac Issues: #15237
Differential Revision: https://phabricator.haskell.org/D4837
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15237#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list