On 05/02/2012 18:06, Brandon Allbery wrote:
On Sun, Feb 5, 2012 at 12:11, Serge D. Mechveliani <mech...@botik.ru
<mailto:mech...@botik.ru>> wrote:

    I needed to look into the C code made by     ghc-7.4.1


GHC doesn't write C source any more.

        Warning: The -fvia-C flag does nothing; it will be removed in
    a future GHC release


which is what this is telling you

    ghc: panic! (the 'impossible' happened)
      (GHC version 7.4.1 for i386-unknown-linux):
      pipeLoop: at phase As but I wanted to stop at phase HCc


and this appears to be a symptom of it not having been completely
removed; the phase it wants to stop at no longer exists so it's getting
caught after the fact. "Oops"

Thanks, I'll get this fixed.

Cheers,
        Simon




    2. How to see this C code? What GHC version shows it?


ghc6.x supported -fvia-C, ghc7.x does not.  Modern ghc uses a more
efficient native code generator instead of going through C.

Why is the purported C code supposed to be useful?

--
brandon s allbery allber...@gmail.com <mailto:allber...@gmail.com>
wandering unix systems administrator (available)     (412) 475-9364 vm/sms



_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users


_______________________________________________
Glasgow-haskell-users mailing list
Glasgow-haskell-users@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to