Solve the missed local dimension bug with strides and modulo guards
[clan.git] / BUGS
blob68e8d8a74b456880eb7769e7b3ad164d9ccce672
1 ------------------------------------------------------------------------------
2 1. BLOCKER
5 ------------------------------------------------------------------------------
6 2. CRITICAL
9 ------------------------------------------------------------------------------
10 3. MAJOR
13 ------------------------------------------------------------------------------
14 4. NORMAL
16 ---
17 4.1 Memory leak with -autoscop/-autopragma (reported by C. Bastoul)
18 ---
19 Some memory leaks are possible when using -autoscop/-autopragma depending
20 where the parse errors happen. E.g., or a code like:
21 for (i = 42; i+1 < N*M; i++)
22   S(i);
23 there will be 3 leaks:
24 - the "i" symbol stored in the parser_iterators array while the
25   parser_loop_depth has not been updated yet,
26 - the "i >= 42" relation,
27 - the "i+1" relation.
28 Everything can be freed by adding the following destructors:
30 %destructor { clan_symbol_free(parser_iterators[parser_loop_depth]);
31               osl_relation_free($$);
32             } loop_initialization
33 %destructor { osl_relation_free($$); } <setex>
35 Those destructors would be wonderful, and it's probably the way to go,
36 however they may cause some double frees. Try, e.g.,
37 tests/autoscop/matmul_2_non_static_fences.c     
38 I still don't see what to do...
40 ------------------------------------------------------------------------------
41 5. MINOR