fix Issue 8664 - Compiler causes stack overflow with recursive typedef and option -g
Merge pull request #2777 from WalterBright/fix8664

fix Issue 8664 - Compiler causes stack overflow with recursive typedef and option -g