This isn’t some speculative thing. It literally happened in the 2003 heat wave, where crops failed due to the extreme heat. With even higher temperatures in this heat wave it will certainly happen this year too.
As these sorts of heat waves become more frequent, our food supply will become more unstable which, left unchecked, will eventually result in famine even in rich parts of the world like Europe.