fix Issue 12080 - Internal error: backend/symbol.c 1035 for invariant
Merge pull request #3225 from 9rnsr/fix12080

[REG2.065a] Issue 12080 - Internal error: backend/symbol.c 1035 for invariant