French is a Romance language, so I'm sure that "pain" would be derived from Latin "panis." The Japanese word for bread comes from Spanish, which is "pan" (written as パン in JP). I think this is where English got the word pantry from (again using the word "bread" as a reference to common provisions and not only bread).