[Git][ghc/ghc][master] Redirect output of musttail attribute test

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Sat Nov 26 09:05:21 UTC 2022



Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC


Commits:
2da5c38a by Will Hawkins at 2022-11-26T04:05:04-05:00
Redirect output of musttail attribute test

Compilation output from test for support of musttail attribute leaked to
the console.

- - - - -


1 changed file:

- m4/fp_musttail.m4


Changes:

=====================================
m4/fp_musttail.m4
=====================================
@@ -5,7 +5,7 @@ AC_DEFUN([FP_MUSTTAIL],
 [
     AC_MSG_CHECKING([whether __attribute__((musttail)) is supported])
     echo 'extern int foo(void); int bar(void) { __attribute__((musttail)) return foo(); }' > conftest.c
-    if $CC -c conftest.c -o conftest.o
+    if $CC -c conftest.c -o conftest.o > /dev/null 2>&1
     then
         AC_MSG_RESULT([yes])
         AC_DEFINE(HAS_MUSTTAIL, 1, [Has musttail])



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2da5c38a45fcfd9778d7d89d0946aa475ae96627

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/2da5c38a45fcfd9778d7d89d0946aa475ae96627
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20221126/bbc1d2bd/attachment.html>


More information about the ghc-commits mailing list