#2752: Parse error in STM.c
--------------------------+-------------------------------------------------
Reporter: jputcu | Owner: simonmar
Type: bug | Status: new
Priority: normal | Milestone: 6.10.2
Component: Build System | Version: 6.10.1
Severity: blocker | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: x86
Os: Linux |
--------------------------+-------------------------------------------------
Changes (by simonmar):
* owner: => simonmar
* difficulty: => Unknown
* milestone: => 6.10.2
Comment:
Thanks for the report. I see what the bug is, so I can fix that, but
unfortunately I don't have a way to test with gcc 2.95 here. If you can
test the patch, that would be most helpful - I wouldn't be surprised if
there are other problems to be found.
{{{
diff -rN -u old-ghc-testing/rts/STM.c new-ghc-testing/rts/STM.c
--- old-ghc-testing/rts/STM.c 2008-11-10 10:33:06.000000000 +0000
+++ new-ghc-testing/rts/STM.c 2008-11-10 10:33:07.000000000 +0000
@@ -388,8 +388,8 @@
static void unpark_waiters_on(Capability *cap, StgTVar *s) {
StgTVarWatchQueue *q;
- TRACE("unpark_waiters_on tvar=%p", s);
StgTVarWatchQueue *trail;
+ TRACE("unpark_waiters_on tvar=%p", s);
// unblock TSOs in reverse order, to be a bit fairer (#2319)
for (q = s -> first_watch_queue_entry, trail = q;
q != END_STM_WATCH_QUEUE;
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2752#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs