This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: tree ssa and type issues
- From: Tom Tromey <tromey at redhat dot com>
- To: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: 21 May 2005 12:14:08 -0600
- Subject: Re: tree ssa and type issues
- References: <m3k6lssbkz.fsf@uniton.integrable-solutions.net>
- Reply-to: tromey at redhat dot com
>>>>> "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