Merge pull request #2625 from WalterBright/fix5012

fix Issue 5012 - ICE(cod3.c): handling a nested function in inline asm.