[project @ 2005-03-15 10:33:41 by krasimir]
authorkrasimir <unknown>
Tue, 15 Mar 2005 10:33:41 +0000 (10:33 +0000)
committerkrasimir <unknown>
Tue, 15 Mar 2005 10:33:41 +0000 (10:33 +0000)
Without semicolon after "foundit:" at least mingw32-gcc raises "error: label at end of compound statement".

ghc/rts/Linker.c

index 41e80a9..5693bd2 100644 (file)
@@ -2199,7 +2199,7 @@ ocResolve_PEi386 ( ObjectCode* oc )
            /* Newline first because the interactive linker has printed "linking..." */
             errorBelch("\n%s: unknown symbol `%s'", oc->fileName, symbol);
             return 0;
-           foundit:
+           foundit:;
          }
          checkProddableBlock(oc, pP);
          switch (reltab_j->Type) {