aboutsummaryrefslogtreecommitdiff
path: root/backendC
diff options
context:
space:
mode:
authorronny2001-11-19 13:13:41 +0000
committerronny2001-11-19 13:13:41 +0000
commit794a6a91f4f3be868911ffe8e3e146549f3fd944 (patch)
tree9d9c888d0829fab15c2aa46b82f63c6af4037290 /backendC
parentChanges: (diff)
bug fix: initialisation of global strictness info (prevents crash with second compile)
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@893 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'backendC')
-rw-r--r--backendC/CleanCompilerSources/sa.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/backendC/CleanCompilerSources/sa.c b/backendC/CleanCompilerSources/sa.c
index ea8deab..4bc3d66 100644
--- a/backendC/CleanCompilerSources/sa.c
+++ b/backendC/CleanCompilerSources/sa.c
@@ -5431,6 +5431,9 @@ int init_strictness_analysis (ImpMod imod)
DBPrinting = False;
#endif
+#if CLEAN2
+ strict_positions = NULL;
+#endif
max_memuse = 0;
found_strict = 0;
initialising = True;