Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Cheng Shao's avatar
    9c453cd3
    testsuite: remove undesired -fasm flag from test ways · 9c453cd3
    Cheng Shao authored
    This patch removes the -fasm flag from test ways, except ways like
    optasm that explicitly state they are meant to be compiled with NCG
    backend. Most test ways should use the default codegen backend, and
    the precense of -fasm can cause stderr mismatches like this when GHC
    is configured with the unregisterised backend:
    
    ```
    --- /dev/null
    +++ /tmp/ghctest-3hydwldj/test   spaces/testsuite/tests/profiling/should_compile/prof-late-cc.run/prof-late-cc.comp.stderr.normalised
    @@ -0,0 +1,2 @@
    +when making flags consistent: warning: [GHC-74335] [-Winconsistent-flags (in -Wdefault)]
    +    Target platform uses unregisterised ABI, so compiling via C
    *** unexpected failure for prof-late-cc(prof_no_auto)
    ```
    
    This has been breaking the wasm unreg nightly job since !12595 landed.
    
    (cherry picked from commit 88488847)
    (cherry picked from commit f603ac9c)
    9c453cd3
    History
    testsuite: remove undesired -fasm flag from test ways
    Cheng Shao authored
    This patch removes the -fasm flag from test ways, except ways like
    optasm that explicitly state they are meant to be compiled with NCG
    backend. Most test ways should use the default codegen backend, and
    the precense of -fasm can cause stderr mismatches like this when GHC
    is configured with the unregisterised backend:
    
    ```
    --- /dev/null
    +++ /tmp/ghctest-3hydwldj/test   spaces/testsuite/tests/profiling/should_compile/prof-late-cc.run/prof-late-cc.comp.stderr.normalised
    @@ -0,0 +1,2 @@
    +when making flags consistent: warning: [GHC-74335] [-Winconsistent-flags (in -Wdefault)]
    +    Target platform uses unregisterised ABI, so compiling via C
    *** unexpected failure for prof-late-cc(prof_no_auto)
    ```
    
    This has been breaking the wasm unreg nightly job since !12595 landed.
    
    (cherry picked from commit 88488847)
    (cherry picked from commit f603ac9c)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.