[commit: ghc] master: Fix gcc 4.6 warnings; fixes #5176 (0a6f26f)
Ian Lynagh
igloo at earth.li
Sat Jun 25 21:50:58 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/ghc
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/0a6f26f6d29c8762b254e2f1040fce5c3571feea
>---------------------------------------------------------------
commit 0a6f26f6d29c8762b254e2f1040fce5c3571feea
Author: Ian Lynagh <igloo at earth.li>
Date: Fri Jun 24 20:51:13 2011 +0100
Fix gcc 4.6 warnings; fixes #5176
Based on a patch from David Terei.
Some parts are a little ugly (e.g. defining things that only ASSERTs
use only when DEBUG is defined), so we might want to tweak things a
little.
I've also turned off -Werror for didn't-inline warnings, as we now
get a few such warnings.
aclocal.m4 | 5 ++++-
mk/config.mk.in | 1 +
mk/validate-settings.mk | 9 +++++++++
rts/Interpreter.c | 20 ++++++++++++++++----
rts/Linker.c | 14 ++++++++++++--
rts/ProfHeap.c | 18 +++++++++---------
rts/Profiling.h | 7 +++++++
rts/STM.c | 4 ++--
rts/Schedule.c | 10 ++++++++--
rts/Task.c | 4 ++--
rts/Trace.h | 7 ++++---
rts/sm/GC.c | 13 ++++++++++++-
rts/sm/GCUtils.c | 4 ++--
13 files changed, 88 insertions(+), 28 deletions(-)
Diff suppressed because of size. To see it, use:
git show 0a6f26f6d29c8762b254e2f1040fce5c3571feea
More information about the Cvs-ghc
mailing list