https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360
--- Comment #26 from anlauf at gcc dot gnu.org --- (In reply to David Edelsohn from comment #25) > The problem on big endian systems is that GFortran is passing the character > with the wrong padding. [...] > GFortran is not taking account of endianness for the layout of values in > memory compared to constants loaded into registers. This isn't an ABI issue > of the target, this is a memory layout and register layout issue of GFortran. Frankly speaking, this is a place where I have zero knowledge. > Let me know if you need more information or tests. There is pr110419 which tracks the testsuite regression on BE systems. Mikael added some info there. Maybe you can have a look, too.