[commit: ghc] wip/erikd/rts: rts: Add `-Wundef` to CFLAGS and fix warnings (0f624db)

git at git.haskell.org git at git.haskell.org
Sun Jun 12 05:31:35 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/erikd/rts
Link       : http://ghc.haskell.org/trac/ghc/changeset/0f624db4179786deec0dbe7432899358cf9b71a8/ghc

>---------------------------------------------------------------

commit 0f624db4179786deec0dbe7432899358cf9b71a8
Author: Erik de Castro Lopo <erikd at mega-nerd.com>
Date:   Wed May 18 20:04:26 2016 +1000

    rts: Add `-Wundef` to CFLAGS and fix warnings


>---------------------------------------------------------------

0f624db4179786deec0dbe7432899358cf9b71a8
 compiler/utils/Panic.hs             |   4 +-
 ghc/GHCi/UI.hs                      |   2 +-
 includes/MachineDefines.h           | 134 ++++++++++++++++++++++
 includes/Rts.h                      |   8 +-
 includes/RtsAPI.h                   |   2 +-
 includes/Stg.h                      |   6 +-
 includes/rts/IOManager.h            |   2 +-
 includes/rts/Linker.h               |   2 +-
 includes/rts/Messages.h             |   2 +-
 includes/rts/OSThreads.h            |   6 +-
 includes/rts/Threads.h              |   2 +-
 includes/rts/storage/GC.h           |   2 +-
 includes/rts/storage/InfoTables.h   |   2 +-
 includes/rts/storage/TSO.h          |   4 +-
 includes/stg/DLL.h                  |   6 +-
 includes/stg/MachRegs.h             |  26 ++---
 includes/stg/RtsMachRegs.h          |   2 +
 includes/stg/SMP.h                  |  15 ++-
 includes/stg/Types.h                |   2 +-
 libraries/base/GHC/Conc/IO.hs       |  22 ++--
 libraries/base/GHC/Conc/Sync.hs     |   2 +-
 libraries/base/GHC/Conc/Windows.hs  |   2 +-
 libraries/base/cbits/DarwinUtils.c  |   2 +-
 libraries/base/cbits/PrelIOUtils.c  |   2 +-
 libraries/base/include/HsBase.h     |   2 +-
 libraries/ghc-prim/cbits/ctz.c      |   2 +-
 rts/Adjustor.c                      |  79 ++++++-------
 rts/BeginPrivate.h                  |   2 +-
 rts/Capability.c                    |   6 +-
 rts/Capability.h                    |   2 +-
 rts/EndPrivate.h                    |   2 +-
 rts/Excn.h                          |   2 +-
 rts/HeapStackCheck.cmm              |   2 +-
 rts/Interpreter.c                   |   7 +-
 rts/Libdw.c                         |   4 +-
 rts/Linker.c                        | 220 ++++++++++++++++++------------------
 rts/LinkerInternals.h               |   5 +-
 rts/PosixSource.h                   |   4 +-
 rts/PrimOps.cmm                     |  12 +-
 rts/Profiling.c                     |   2 +-
 rts/RaiseAsync.c                    |   8 +-
 rts/RaiseAsync.h                    |   2 +-
 rts/RtsFlags.c                      |  14 +--
 rts/RtsMessages.c                   |  14 +--
 rts/RtsSignals.h                    |   4 +-
 rts/RtsStartup.c                    |  14 +--
 rts/RtsSymbols.c                    |  26 ++---
 rts/RtsUtils.c                      |  10 +-
 rts/Schedule.c                      |   8 +-
 rts/Stats.h                         |   2 +-
 rts/StgCRun.c                       |  54 ++++-----
 rts/StgRun.h                        |   2 +-
 rts/Task.h                          |   8 +-
 rts/Threads.c                       |   4 +-
 rts/Trace.c                         |   2 +-
 rts/eventlog/EventLog.c             |   2 +-
 rts/ghc.mk                          |   3 +
 rts/posix/Clock.h                   |   2 +-
 rts/posix/GetEnv.c                  |   2 +-
 rts/posix/GetTime.c                 |   6 +-
 rts/posix/Itimer.c                  |   6 +-
 rts/posix/OSMem.c                   |   2 +-
 rts/posix/OSThreads.c               |  24 ++--
 rts/posix/Signals.c                 |   6 +-
 rts/sm/Evac.h                       |   2 +-
 rts/sm/GCTDecl.h                    |   7 +-
 rts/sm/GCUtils.c                    |   2 +-
 rts/sm/GCUtils.h                    |   2 +-
 rts/sm/Storage.c                    |  15 ++-
 testsuite/tests/rts/T5435_asm.c     |   4 +-
 testsuite/tests/rts/linker_error.c  |   6 +-
 testsuite/tests/rts/linker_unload.c |   2 +-
 testsuite/tests/rts/spalign.c       |   6 +-
 utils/ghc-pkg/Main.hs               |  14 +--
 utils/runghc/Main.hs                |  10 +-
 75 files changed, 531 insertions(+), 376 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 0f624db4179786deec0dbe7432899358cf9b71a8


More information about the ghc-commits mailing list