This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fold VIEW_CONVERT_EXPR <type, STRING_CST> generated by Fortran FE a lot (PR target/35366)
On Tue, 2008-11-11 at 18:49 +0100, Jakub Jelinek wrote:
> How is LOGICAL supposed to behave if it is storage associated with an
> integer? Defined only if the integer stored has been 0 or 1, or 0 .false.
> and non-zero .true., or something else?
0 is .false., 1 is .true., anything else is undefined.
We already make use of this in the library. For example, for mask
arguments, we only check the lower byte.