tree ssa and type issues
Tom Tromey
tromey@redhat.com
Sat May 21 18:49:00 GMT 2005
>>>>> "Gabriel" == Gabriel Dos Reis <gdr@integrable-solutions.net> 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> ^^^^^^^^
Maybe we should be using the XNEWVEC macro (libiberty.h) everywhere.
That would avoid this problem.
How did you catch this btw? (If gcc or g++ warns about this, it is
cool news... and if it doesn't, wouldn't that be nice?)
Tom
More information about the Gcc
mailing list