[Bug fortran/111304] Problem when passing implicit arrays of characters to functions

2023-09-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111304 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug fortran/111304] Problem when passing implicit arrays of characters to functions

2023-09-06 Thread mailling-lists-bd at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111304 --- Comment #1 from Baptiste Demoulin --- One comment: replacing `trim(prefix)` with `prefix(1:len_trim(prefix))` leads to the same result, as does putting simply `prefix`, so the problem does not seem to be related to using the `trim`