GD and a small baby?

So I have gestational diabetes but my baby is measuring a week behind. I'm 38 weeks and she's 6lbs 5oz. Has this happened to anyone else? Could it be wrong? I had to have an emergency ultrasound yesterday because the doctor was so concerned about her measuring so small, but she's only measuring a week behind... but now I'm nervous that she's not getting enough nutrients or something. Does anyone know how much babies grow in the last couple weeks? I'm thinking she'll be just under 7lbs if she's born at 40 weeks. Usually with GD you have big babies! So I'm confused