fixed a --stack-auto without --int-long-reent bug