https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643

--- Comment #27 from kargls at comcast dot net ---
On 12/28/24 11:49, jvdelisle at gcc dot gnu.org wrote:
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643
> 
> --- Comment #26 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> ---
> Why not set it in gfc_resolve_expr near the top before any other actions?
> 
> also
> 
> Are there any systems where c_char is not equal to 1? If not then BT_CHARACTER
> and KIND==1 is always C interoperable. ??
> 

In iso-c-binding.def, one finds

NAMED_CHARKNDCST (ISOCBINDING_CHAR, "c_char",gfc_default_character_kind)

so kind('a') == kind(c_char_'a') on all targets.

Reply via email to