The U.S military says a roadside bomb killed five Marines Thursday in Iraq 's western Anbar province .