[Git][ghc/ghc][wip/marge_bot_batch_merge_job] 12 commits: Deprecate -Wsemigroup

Marge Bot (@marge-bot) gitlab at gitlab.haskell.org
Wed Jan 10 18:56:58 UTC 2024



Marge Bot pushed to branch wip/marge_bot_batch_merge_job at Glasgow Haskell Compiler / GHC


Commits:
e2077ee0 by Krzysztof Gogolewski at 2024-01-10T13:55:39-05:00
Deprecate -Wsemigroup

This warning was used to prepare for Semigroup becoming a superclass
of Monoid, and for (<>) being exported from Prelude. This happened in
GHC 8.4 in 8ae263ceb3566 and feac0a3bc69fd3.

The leftover logic for (<>) has been removed in GHC 9.8, 4d29ecdfcc79.
Now the warning does nothing at all and can be deprecated.

- - - - -
e41680c7 by amesgen at 2024-01-10T13:55:44-05:00
WASM metadata: use correct GHC version

- - - - -
56d8745f by Xiaoyan Ren at 2024-01-10T13:55:47-05:00
Allow SCC declarations in TH (#24081)

- - - - -
f3a9e627 by Xiaoyan Ren at 2024-01-10T13:55:47-05:00
Fix prettyprinting of SCC pragmas

- - - - -
91637ad6 by Matthew Craven at 2024-01-10T13:55:48-05:00
Fix loopification in the presence of void arguments

This also removes Note [Void arguments in self-recursive tail calls],
which was just misleading.  It's important to count void args both
in the function's arity and at the call site.

Fixes #24295.

- - - - -
f91b714a by Zubin Duggal at 2024-01-10T13:55:49-05:00
testsuite: Teach testsuite driver about c++ sources

- - - - -
92756550 by Zubin Duggal at 2024-01-10T13:55:49-05:00
driver: Set -DPROFILING when compiling C++ sources with profiling

Earlier, we used to pass all preprocessor flags to the c++ compiler.
This meant that -DPROFILING was passed to the c++ compiler because
it was a part of C++ flags
However, this was incorrect and the behaviour was changed in
8ff3134ed4aa323b0199ad683f72165e51a59ab6. See #21291.

But that commit exposed this bug where -DPROFILING was no longer being passed
when compiling c++ sources.

The fix is to explicitly include -DPROFILING in `opt_cxx` when profiling is
enabled to ensure we pass the correct options for the way to both C and C++
compilers

Fixes #24286

- - - - -
5bdf6ad0 by Zubin Duggal at 2024-01-10T13:55:49-05:00
testsuite: rename objcpp -> objcxx

To avoid confusion with C Pre Processsor

- - - - -
a80da06d by Simon Peyton Jones at 2024-01-10T13:55:49-05:00
Make TYPE and CONSTRAINT not-apart

Issue #24279 showed up a bug in the logic in GHC.Core.Unify.unify_ty
which is supposed to make TYPE and CONSTRAINT be not-apart.

Easily fixed.

- - - - -
e1d46041 by Zubin Duggal at 2024-01-10T13:55:50-05:00
ci: Fix typo in mk_ghcup_metadata.py

There was a missing colon in the fix to #24268 in 989bf8e53c08eb22de716901b914b3607bc8dd08

- - - - -
31f6e171 by Zubin Duggal at 2024-01-10T13:55:50-05:00
release-ci: remove release-x86_64-linux-deb11-release+boot_nonmoving_gc job

There is no reason to have this release build or distribute this variation.
This configuration is for testing purposes only.

- - - - -
01d4cac4 by Sebastian Graf at 2024-01-10T13:55:51-05:00
Parser: Add a Note detailing why we need happy's `error` to implement layout

- - - - -


30 changed files:

- .gitlab/generate-ci/gen_ci.hs
- .gitlab/jobs.yaml
- .gitlab/rel_eng/mk-ghcup-metadata/mk_ghcup_metadata.py
- compiler/GHC/Builtin/Names/TH.hs
- compiler/GHC/CmmToAsm/Wasm/Asm.hs
- compiler/GHC/Core/Unify.hs
- compiler/GHC/Driver/Flags.hs
- compiler/GHC/Driver/Session.hs
- compiler/GHC/HsToCore/Quote.hs
- compiler/GHC/Parser.y
- compiler/GHC/Platform/Ways.hs
- compiler/GHC/StgToCmm/Bind.hs
- compiler/GHC/StgToCmm/Closure.hs
- compiler/GHC/StgToCmm/Expr.hs
- compiler/GHC/StgToCmm/Heap.hs
- compiler/GHC/StgToCmm/Monad.hs
- compiler/GHC/StgToCmm/Sequel.hs
- compiler/GHC/ThToHs.hs
- compiler/GHC/Types/SourceText.hs
- docs/users_guide/using-warnings.rst
- libraries/template-haskell/Language/Haskell/TH/Lib/Internal.hs
- libraries/template-haskell/Language/Haskell/TH/Ppr.hs
- libraries/template-haskell/Language/Haskell/TH/Syntax.hs
- libraries/template-haskell/changelog.md
- testsuite/driver/testglobals.py
- testsuite/driver/testlib.py
- + testsuite/tests/codeGen/should_run/T24295a.hs
- + testsuite/tests/codeGen/should_run/T24295a.stdout
- + testsuite/tests/codeGen/should_run/T24295b.hs
- testsuite/tests/codeGen/should_run/all.T


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/b6d46b084bdd3fcaa020428abd5edb94e6a5f96a...01d4cac4d653ce5eba981a613f6037933f20dc2c

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/b6d46b084bdd3fcaa020428abd5edb94e6a5f96a...01d4cac4d653ce5eba981a613f6037933f20dc2c
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/20240110/801b6db8/attachment-0001.html>


More information about the ghc-commits mailing list