On Tue, Dec 10, 2024 at 09:05:02AM +0100, FX Coudert wrote: > Hi Steve, > > > I've an almost complete implementation of F_C_STRING, > > but need a bit of insight on the inlining that I'm > > trying to implement. > > Maybe I can help. Can you send in your current patch? >
FX, I've attached the WIP patch to the PR. It was created against git commit 873cffc7920. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117643 There is also a testcase attached to the PR. It has a number of tests commented out. Also, note, at the moment, I append the character 'z' to the string instead of '\0' as 'z' is printable. If you search for 'asis' in trans-intrinsic.cc in your editor, it will take to the right location. AFAIC, I need to build a block for 'asis==.true', a block for 'asis==.false.', and then use a conditional to select which to execute. Ping me if you have questions, and feel free to laugh at anything that I've done. -- Steve