fix Issue 12243 - "ICE: cannot append 'char' to 'string'" with -inline