Will an upgrade to Windows 10 on a dual-boot system mess GRUB up?

This short post is for those running a system on which Windows 7 or 8 (or 8.1) is installed in dual-boot fashion with one or more Linux distributions. If you have such a system and are wondering whether the integrity of the Linux side will survive an upgrade to Windows 10, well, it depends.