Daniel Berlin <[EMAIL PROTECTED]> writes:
| On Sat, 2005-05-21 at 18:55 +0200, Andreas Jaeger wrote:
| > Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
| >
| > > Hi again,
| > >
| > > I just hit this one from tree-ssa-into.c:rewrite_into_ssa()
| > >
| > > /* Initialize dominance frontier. */
| >
> | > dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap *));
> | >
It would be nice if gcc gave a warning for suspicious cases like this.
I did a crude warning for this, and ironically it found a bug in valgrind:
http://w
Andreas Jaeger <[EMAIL PROTECTED]> writes:
> Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
>
>> Hi again,
>>
>> I just hit this one from tree-ssa-into.c:rewrite_into_ssa()
>>
>> /* Initialize dominance frontier. */
>> dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap *));
>>
On Saturday 21 May 2005 22:15, Daniel Berlin wrote:
> > where the storage is returned/reused as soon as done, as opposed to
> > waiting for the end of the compilation.
>
> Uh, nobody waits for the end of compilation to free their xmalloc'd
> things.
Except the alloc pools of et-forest :-)
Gr.
Ste
On Sat, 2005-05-21 at 22:59 +0200, Gabriel Dos Reis wrote:
> Daniel Berlin <[EMAIL PROTECTED]> writes:
>
> | On Sat, 2005-05-21 at 22:00 +0200, Gabriel Dos Reis wrote:
> | > Daniel Berlin <[EMAIL PROTECTED]> writes:
> | >
> | > [...]
> | >
> | > | > Parenthetically, I was wondering who is freein
Daniel Berlin <[EMAIL PROTECTED]> writes:
| On Sat, 2005-05-21 at 22:00 +0200, Gabriel Dos Reis wrote:
| > Daniel Berlin <[EMAIL PROTECTED]> writes:
| >
| > [...]
| >
| > | > Parenthetically, I was wondering who is freeing those extensive
| > | > regions of storage xmalloc/xcalloc()ed here and t
On Sat, 2005-05-21 at 22:00 +0200, Gabriel Dos Reis wrote:
> Daniel Berlin <[EMAIL PROTECTED]> writes:
>
> [...]
>
> | > Parenthetically, I was wondering who is freeing those extensive
> | > regions of storage xmalloc/xcalloc()ed here and there?
> |
> | 1. The people who write the code to do the
Daniel Berlin <[EMAIL PROTECTED]> writes:
[...]
| > Parenthetically, I was wondering who is freeing those extensive
| > regions of storage xmalloc/xcalloc()ed here and there?
|
| 1. The people who write the code to do the xmalloc'ing.
| 2. Every couple of months, people run gcc through valgrind
Daniel Berlin <[EMAIL PROTECTED]> writes:
| On Sat, 2005-05-21 at 18:55 +0200, Andreas Jaeger wrote:
| > Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
| >
| > > Hi again,
| > >
| > > I just hit this one from tree-ssa-into.c:rewrite_into_ssa()
| > >
| > > /* Initialize dominance frontier. */
| >
Tom Tromey <[EMAIL PROTECTED]> writes:
| > "Gabriel" == Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
|
| Gabriel> I just hit this one from tree-ssa-into.c:rewrite_into_ssa()
| Gabriel> /* Initialize dominance frontier. */
| Gabriel> dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bi
On Sat, 2005-05-21 at 20:33 +0200, Gabriel Dos Reis wrote:
> Andreas Jaeger <[EMAIL PROTECTED]> writes:
>
> | Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
> |
> | > Hi again,
> | >
> | > I just hit this one from tree-ssa-into.c:rewrite_into_ssa()
> | >
> | > /* Initialize dominance frontier. *
On Sat, 2005-05-21 at 18:55 +0200, Andreas Jaeger wrote:
> Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
>
> > Hi again,
> >
> > I just hit this one from tree-ssa-into.c:rewrite_into_ssa()
> >
> > /* Initialize dominance frontier. */
> > dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bit
> "Gabriel" == Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
Gabriel> I just hit this one from tree-ssa-into.c:rewrite_into_ssa()
Gabriel> /* Initialize dominance frontier. */
Gabriel> dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap *));
Gabriel>
Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
> Andreas Jaeger <[EMAIL PROTECTED]> writes:
>
> | Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
> |
> | > Hi again,
> | >
> | > I just hit this one from tree-ssa-into.c:rewrite_into_ssa()
Note update_ssa has the same problem.
> | >
> | > /* Initial
Andreas Jaeger <[EMAIL PROTECTED]> writes:
| Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
|
| > Hi again,
| >
| > I just hit this one from tree-ssa-into.c:rewrite_into_ssa()
| >
| > /* Initialize dominance frontier. */
| > dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap *));
| >
Gabriel Dos Reis <[EMAIL PROTECTED]> writes:
> Hi again,
>
> I just hit this one from tree-ssa-into.c:rewrite_into_ssa()
>
> /* Initialize dominance frontier. */
> dfs = (bitmap *) xmalloc (last_basic_block * sizeof (bitmap *));
>^^^
16 matches
Mail list logo