Hi janne,
Regtested on x86_64-pc-linux-gnu, Ok for trunk?
Jerry already OK'd this, so you can commit if you want. What you could do is to hide the macro invocation behind a macro in libgfortran.h, something like #define BIG_ENDIAN (__BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) Also, I have opened PR libfortran/83097 for this, you can mention this in the ChangeLog entry. Regards Thomas