https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643
kargls at comcast dot net changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #59617|0 |1
is obsolete| |
--- Comment #4 from kargls at comcast dot net ---
Created attachment 59830
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59830&action=edit
Diff of work-in-progress
This is the diff for the WIP implementation of F_C_STRING. A current ChangeLog
entry is
* check.cc (gfc_check_f_c_string): New function for checking the
arguments to f_c_string.
* gfortran.h: Add GFC_ISYM_F_C_STRING symbol.
* intrinsic.cc (add_functions): Include F_C_STRING in the list of
supported intrinsic functions. Add it to the ISO_C_BINDING module.
make_generic ("transpose", GFC_ISYM_TRANSPOSE, GFC_STD_F95);
* intrinsic.h: Prototype for gfc_check_f_c_string ()
* iso-c-binding.def: Add F_C_STRING to ISO_C_BINDING.
* primary.cc (gfc_match_rvalue): Add ISOCBINDING_F_C_STRING to the check.
* trans-intrinsic.cc (conv_trim): Specialized trim for f_c_string.
(conv_isocbinding_function): Implement inlining of f_c_string.
(gfc_conv_intrinsic_function): Add GFC_ISYM_F_C_STRING to switch statement
to invoke conv_isocbinding_function