[Bug fortran/110360] ABI issue with character,value dummy argument
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 18 18:52:07 GMT 2023
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.
More information about the Gcc-bugs
mailing list