[patch, libfortran] Use macros for dtype in array intrinsics
Thomas Koenig
tkoenig@netcologne.de
Sun Jan 7 12:23:00 GMT 2018
Am 06.01.2018 um 18:45 schrieb Thomas Koenig:
> Hello world,
>
> the attached patch removes explicit use of dtype in the
> array intrinsics, replacing them by macros instead.
> Functionally, this patch changes nothing.
Steve pointed out on IRC that
+#define GFC_DTYPE_IS_UNSET(a) (unlikely((a)->dtype) == 0)
should be
+#define GFC_DTYPE_IS_UNSET(a) (unlikely((a)->dtype == 0))
OK with that change?
Regards
Thomas
More information about the Gcc-patches
mailing list