https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360
--- Comment #19 from Mikael Morin <mikael at gcc dot gnu.org> --- (In reply to Mikael Morin from comment #18) > There is the "obvious" problem that gfc_build_wide_string_const creates a > bare array, whereas gfc_string_to_single_character expects a pointer > wrapping around it. > I was wrong saying above that "A" is a pointer. It is converted to a > pointer if passed as argument in C, but the middle-end clearly distinguishes > between arrays and pointers, and "A" is an array, not a pointer to an array. Sorry, you can scratch that, the failing case is the NON-constant case.