+2005-03-28 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+ * src/SDCCBBlock.c (iCodeBreakDown): fixed bug #1170212
+
2005-03-26 Raphael Neider <rneider AT web.de>
* src/pic16/gen.c (genSkipc): fixed semantics (execute branch
iCode *loop = ic;
ebbIndex *ebbi;
- ebbi = Safe_alloc (sizeof (ebbIndex *));
+ ebbi = Safe_alloc (sizeof (ebbIndex));
ebbi->count = 0;
ebbi->dfOrder = NULL; /* no depth first order information yet */
/* allocate for the first entry */
- ebbs = Safe_alloc (sizeof (eBBlock **));
+ ebbs = Safe_alloc (sizeof (eBBlock *));
ebbi->bbOrder = ebbs;
while (loop)
/* allocate for the next one. Remember to clear the new */
/* pointer at the end, that was created by realloc. */
- ebbs = Safe_realloc (ebbs, (ebbi->count + 1) * sizeof (eBBlock **));
+ ebbs = Safe_realloc (ebbs, (ebbi->count + 1) * sizeof (eBBlock *));
ebbi->bbOrder = ebbs;
ebbs[ebbi->count] = 0;
/* if we have stopped at the block , allocate for an extra one */
- ebbs = Safe_realloc (ebbs, (ebbi->count + 1) * sizeof (eBBlock **));
+ ebbs = Safe_realloc (ebbs, (ebbi->count + 1) * sizeof (eBBlock *));
ebbi->bbOrder = ebbs;
ebbs[ebbi->count] = 0;