[GHC] #14269: ghc: internal error: PAP object entered!
GHC
ghc-devs at haskell.org
Fri Sep 22 15:42:31 UTC 2017
#14269: ghc: internal error: PAP object entered!
-------------------------------------+-------------------------------------
Reporter: erisco | Owner: (none)
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 8.0.2
Resolution: worksforme | Keywords:
Operating System: Windows | Architecture: x86_64
Type of failure: Compile-time | (amd64)
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* status: new => closed
* resolution: => worksforme
Comment:
Replying to [comment:3 erisco]:
> I don't know what to tell you… just ran 'cabal install inline-c' and it
installed. I didn't ask further questions. I may have gleaned the wrong
version number perhaps by looking at the Hackage documentation rather than
my console.
I see. In that event, you most likely installed `inline-c-0.5.6.1` (at
least, that's what it defaulted to when I ran `cabal install inline-c`
using GHC 8.0.2). However, I wasn't able to reproduce the panic even after
doing this. I simply got:
{{{
$ C:\Users\RyanGlScott\Software\ghc-8.0.2\bin\ghc hplay.hs -o hplay.exe
[1 of 1] Compiling Main ( hplay.hs, hplay.o )
hplay.hs:8:17: error:
* "hplay.hs" (line 8, column 17):
unexpected end of input
expecting white space, "typedef", "extern", "static", "auto", "register",
"void", "char", "short", "int", "long", "float", "double", "signed",
"unsigned", "struct", "enum", type name, "const", "restrict", "volatile"
or "inline"
* In the quasi-quotation: [C.block||]
}}}
I also experienced this same error when compiling the same program with
`inline-c-0.5.6.1` and `inline-c-0.6.0.5` on GHC 8.2.1.
> I have now updated to GHC 8.2.1 and, after making a correct program with
inline-c, it compiled successfully.
That's good. If there was an issue in GHC 8.0.2, then it sounds like it's
since been resolved. I'll close this ticket as a result.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14269#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list