Thanks so much for tracking this down.
I found another ABI-affecting flag that seems to get dropped during LTO: -fshort-wchar.
I also tried -funsafe-math-optimizations, which also affects the ABI output. This flag seems to get handled correctly by LTO.
Thanks so much for tracking this down.
I found another ABI-affecting flag that seems to get dropped during LTO: -fshort-wchar.
I also tried -funsafe- math-optimizati ons, which also affects the ABI output. This flag seems to get handled correctly by LTO.