fix Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines
Merge pull request #2067 from 9rnsr/fix10106

[test only] Issue 10106 - [ICE] Ice in glue.c:1215 + 2 error messages without lines