On Fri, Dec 13, 2024 at 10:54:03PM +0100, Mikael Morin wrote: > Le 13/12/2024 à 21:55, Steve Kargl a écrit : > > On Mon, Dec 09, 2024 at 06:39:19PM -0800, Steve Kargl wrote: > > > > > > 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. In pseudo-code, F_C_STRING is > > > > > > case 1. f_c_string(string) = trim(string) // c_null_char > > > case 2. f_c_string(string, asis=.false.) = trim(string) // c_null_char > > > case 3. f_c_string(string, asis=.true.) = string // c_null_char > > > > > > > Here's where I'm stuck. > > > FX's message gave most of the information. > More explicitly, what's missing is roughly:
Thanks, Mikael. FX's message is/was indeed helpful, but it seems I am/was getting confused with gfc_se and stmtblock_t entities. Once I got rid of errors of trying to add an 'gfc_se *' or tree to a non-existent member of a block, I would always get the else_branch (as if the conditional was always false). -- steve