1. 24 Apr, 2017 5 commits
    • Joachim Breitner's avatar
      Add failing test case for T13611 · 1c27e5b3
      Joachim Breitner authored
      this program should be rejected, but is not (and segfaults).
      1c27e5b3
    • Ben Gamari's avatar
      testsuite/driver: Fix deletion retry logic on Windows · 6f9f5ff1
      Ben Gamari authored
      Previously rmtree's error callback would throw an exception, breaking
      out of the retry loop.
      
      Test Plan: Validate on Windows
      
      Reviewers: Phyx, austin
      
      Reviewed By: Phyx
      
      Subscribers: rwbarton, thomie
      
      Differential Revision: https://phabricator.haskell.org/D3492
      6f9f5ff1
    • Sergei Trofimovich's avatar
      compiler/cmm/PprC.hs: constify labels in .rodata · b68697e5
      Sergei Trofimovich authored
      Consider one-line module
          module B (v) where v = "hello"
      in -fvia-C mode it generates code like
          static char gibberish_str[] = "hello";
      
      It resides in data section (precious resource on ia64!).
      The patch switches genrator to emit:
          static const char gibberish_str[] = "hello";
      
      Other types if symbols that gained 'const' qualifier are:
      
      - info tables (from haskell and CMM)
      - static reference tables (from haskell and CMM)
      
      Cleanups along the way:
      
      - fixed info tables defined in .cmm to reside in .rodata
      - split out closure declaration into 'IC_' / 'EC_'
      - added label declaration (based on label type) right before
        each label definition (based on section type) so that C
        compiler could check if declaration and definition matches
        at definition site.
      Signed-off-by: default avatarSergei Trofimovich <slyfox@gentoo.org>
      
      Test Plan: ran testsuite on unregisterised x86_64 compiler
      
      Reviewers: simonmar, ezyang, austin, bgamari, erikd
      
      Reviewed By: bgamari, erikd
      
      Subscribers: rwbarton, thomie
      
      GHC Trac Issues: #8996
      
      Differential Revision: https://phabricator.haskell.org/D3481
      b68697e5
    • Moritz Angermann's avatar
      Disable terminfo, if we don’t build it. · d5cb4d2b
      Moritz Angermann authored
      This is a derivation of a patch from @jophish.
      
      This is necessary due to `haskeline`'s `terminfo` flag being marked as
      `Manual` as of 43d7fa106027fcd4ec7f443923a8dd5b8c169f9c.
      
      Reviewers: jophish, bgamari, austin
      
      Reviewed By: bgamari
      
      Subscribers: rwbarton, thomie, jophish
      
      Differential Revision: https://phabricator.haskell.org/D3493
      d5cb4d2b
    • Ryan Scott's avatar
      Add regression test for #13603 · ab27fdcf
      Ryan Scott authored
      Summary:
      Commit b207b536 (#11714) happened to
      fix #13603 as well. Let's add a regression test so that it stays fixed.
      
      Test Plan: make test TEST=T13603
      
      Reviewers: bgamari, austin, simonpj
      
      Reviewed By: bgamari, simonpj
      
      Subscribers: simonpj, rwbarton, thomie
      
      GHC Trac Issues: #13603
      
      Differential Revision: https://phabricator.haskell.org/D3489
      ab27fdcf
  2. 23 Apr, 2017 23 commits
  3. 22 Apr, 2017 5 commits
  4. 21 Apr, 2017 7 commits