Some time ago I redesigned the PCB of an old board, and among other things I replaced the Eprom DIP memories with PLCC32. What I tried to do some time later is to use Flash memory instead of Eprom, both PLCC32.
But I got a surprise, the pinout is identical except for 2 pins that are swapped, A18 for Vpp/WE. I don't understand why the manufacturer decided to make this change, what use it has besides preventing Eprom or Flash from being used on the same board without any other change. This has forced me to redesign the PCB by changing only those two pins.
The Eprom is a 27c040 that I replace with a Flash SST39SF40. I already did something similar a long time ago in another old board, although in that case there were other changes to make and also the original Eprom was DIP and the Flash I put TSOP.