This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1/4] [patch, middle-end] Make mpz_set/get_double_int functions non-static.


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?


- Brooks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]