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: [PATCH, gfortran testsuite]: Do not load denormals in gfortran.fortran_torture/intrinsic_nearest.f90


On Sat, 2009-08-29 at 11:51 +0300, Janne Blomqvist wrote:
> E.g. 
> for LOGICAL arguments, the library should just contain a single function 
> that takes a logical of default kind (GFC_LOGICAL_4), and the frontend 
> being responsible for creating a logical(kind=4) temporary in case the 
> user calls the intrinsic with a logical of some other kind. 

This should indeed be the case for scalar logical arguments.

For array LOGICAL arguments, where we can learn the type from the array
descriptor, we actually use logical(kind=1) internally, using strides to
access the different kinds.

	Thomas



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