I see a lot of compiler options during the make- and make-install stages, and I'm wondering if one of them is messing up (intentionally modifying?) gcc behaviour
Yes, as Anonymous Monk has subsequently confirmed, that's precisely what's happening (in the form of the optimization option).