NATIVE_TO_UNI is defined as follows in utf8.h:
--
#define NATIVE_TO_UNI(ch) ((UV) ((ch) | 0))
--
and UV is 'unsigned long' on m88k.
Details are at:
https://github.com/Perl/perl5/issues/18655
help and ok afresh1@
=cut
*/
+#if defined(__m88k__)
+/* XXX workaround: m88k gcc3 produces wrong code with NATIVE_TO_UNI() */
+#define UVCHR_IS_INVARIANT(cp) (OFFUNI_IS_INVARIANT(cp))
+#else /* the original one */
#define UVCHR_IS_INVARIANT(cp) (OFFUNI_IS_INVARIANT(NATIVE_TO_UNI(cp)))
+#endif
/* Internal macro to be used only in this file to aid in constructing other
* publicly accessible macros.