https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110360
--- Comment #23 from Mikael Morin <mikael at gcc dot gnu.org> --- (In reply to anlauf from comment #22) > Created attachment 55418 [details] > Slighty revised version of 3rd patch > > I've looked at gfc_conv_string_parameter, which I was not aware of. > This can be used for a more readable patch. > Looks good. > It appears one could even use the revised part for constant arguments, too. > However, this changes the tree-dump for gfortran.dg/bind_c_usage_13.f03 > slightly in two places, implying the need for an adjustment of the pattern. > As I am not entirely sure whether the result of that change is correct, > I refrained from using that version. > OK, let's play it safe. > (The partial output from Power BE appears to suggest that constant argument > is still right.) > > Mikael: do you want to test on Power, or shall I proceed? Sorry, still can't login at the moment. Reading the account creation message again, I may need to wait "a few days". So please proceed.