While all of the guns listed are extremely unlikely to give you problems with ammo that is in spec, the Glocks are most likely to have the most serious issues if your ammo is not within spec. Glocks have less chamber support than many other handguns so, if an overpressure cartridge is fired, Glocks are more likely to suffer from bulged brass or a catastrophic failure in the case head area. Glock's polygonal rifling also does not agree well with cast bullets. Some people will say that cast bullets can be used if the gun is cleaned often enough, hard enough lead is used, or the bullets have gas checks but Glock specifically says no cast bullets at all. The only way that I would personally shoot cast bullets in a Glock is with an aftermarket barrel with regular cut rifling such as those available for Lone Wolf or KKM.
Also, bear in mind that .40 S&W is one of the least forgiving cartridges to reload. While it's not particularly high pressure (SAAMI max is 35,000 psi which is the same as standard pressure 9mm), it has the smallest useful case capacity (.69cc) of all the popular service cartridges including 9mm, .357 Sig, and .45 ACP. Because of this, .40 S&W is very sensitive to OAL and a slight reduction in OAL or a slight increase in powder charge will likely make a much greater difference in peak pressure that it would with one of the other popular service cartridges. This is especially true with heavier bullets as, for a given OAL, they take up the most case capacity. If you're going to handload .40 S&W, you must be extremely careful with maximum loads and pay scrupulous attention to OAL, particularly if you're using bullets in the 175-200gr range.