This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [1/4] [patch, middle-end] Make mpz_set/get_double_int functions non-static.
Hello,
> At 02:11 PM 4/9/2007, Daniel Berlin wrote:
> >On 4/8/07, Zdenek Dvorak <rakdver@atrey.karlin.mff.cuni.cz> wrote:
> >>TREE_CODE (type) != POINTER_TYPE
> >>
> >>> + && TYPE_MIN_VALUE (type)
> >>> + && TREE_CODE (TYPE_MIN_VALUE (type)) == INTEGER_CST)
> >>> + mpz_set_double_int (min, tree_to_double_int (TYPE_MIN_VALUE
> >>(type)),
> >>> + TYPE_UNSIGNED (type));
> >>
> >>> + if (!TREE_CODE (type) == POINTER_TYPE
> >>
> >>TREE_CODE (type) != POINTER_TYPE
> >
> >Or !POINTER_TYPE_P (type)
> >
> >Remember that POINTER_TYPE is not the only pointer type :(
>
> Right, thanks. Using POINTER_TYPE_P will get them all, I take it?
yes, it should (at least, this is what we do on other places
where we use TYPE_MIN_VALUE on scalars).
Zdenek