You're describing a scene where U.S. forces accidentally bomb their own frontline troops and use a bird—likely a carrier pigeon—to send a desperate "cease fire" message. Despite sounding plausible, no known World War II film matches this exact premise.
By WWII, radio communication was standard for forward observers and air-ground coordination. Pigeons were still used (especially when radio silence was needed or equipment failed), but a "friendly fire bombing halted by pigeon message" would be an extraordinary, well-documented incident—likely the basis for multiple films if it occurred. No such historical event exists in military records.
You're likely blending elements from different films or stories:
If you recall other details—actor, year, color/B&W, specific battle—try searching those. Otherwise, the film you're remembering may be a fictional composite or a misremembered scene from a lesser-known TV movie.