fix Issue 7806 - ICE(gloop.c) iterating with idouble, when compiling with -O
Merge pull request #2627 from WalterBright/fix7806

fix Issue 7806 - ICE(gloop.c) iterating with idouble, when compiling wit...