This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Fix PR43519: Bootstrap with Graphite enabled fails in Java libs
On Wed, Apr 7, 2010 at 03:23, Richard Guenther <rguenther@suse.de> wrote:
> As said in the PR you should be using build_nonstandard_integer_type,
> not lang_hooks.types.type_for_size (which can return NULL).
>
As said in the PR comment 7, chrec_convert and niter estimation fail
when build_nonstandard_integer_type is used in Graphite as they call
unsigned_type_for and signed_type_for that return NULL on non standard
types as returned by build_nonstandard_integer_type.
I think that unsigned_type_for and signed_type_for could be
implemented to be a bit more middle-end friendly by returning
build_nonstandard_integer_type instead of returning NULL_TREE.
Sebastian