A gendarme who was shot three times after voluntarily taking the place of a hostage during a supermarket siege in southwestern France on Friday has died, France announced on Saturday.