<div dir="ltr">On Sun, Feb 5, 2012 at 12:11, Serge D. Mechveliani <span dir="ltr">&lt;<a href="mailto:mechvel@botik.ru">mechvel@botik.ru</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I needed to look into the C code made by     ghc-7.4.1<br></blockquote><div><br></div><div>GHC doesn&#39;t write C source any more.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
   Warning: The -fvia-C flag does nothing; it will be removed in a future GHC release<br>
</blockquote><div><br></div><div>which is what this is telling you</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">ghc: panic! (the &#39;impossible&#39; happened)<br>

  (GHC version 7.4.1 for i386-unknown-linux):<br>
  pipeLoop: at phase As but I wanted to stop at phase HCc<br></blockquote><div><br></div><div>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&#39;s getting caught after the fact.  &quot;Oops&quot;</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">2. How to see this C code? What GHC version shows it?<br></blockquote><div><br></div><div>ghc6.x supported -fvia-C, ghc7.x does not.  Modern ghc uses a more efficient native code generator instead of going through C.</div>
<div><br></div><div>Why is the purported C code supposed to be useful?</div><div><br></div></div>-- <br>brandon s allbery                                      <a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a><br>
wandering unix systems administrator (available)     (412) 475-9364 vm/sms<br><br>
</div>