On Tue, Apr 23, 2019 at 1:27 AM CHIGOT, CLEMENT <clement.chi...@atos.net> wrote: > > Description: > * This patch removes -mvsx and -maltivec for go aix/ppc. > These options don't seem compatible with Go stack layout. > > Tests: > * AIX 7.2: Configure/Build: SUCCESS > > Changelog: > * config/rs6000/aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Remove OPTION_MASK_VSX > and OPTION_MASK_ALTIVEC from rs6000_isa_flags with Go on 32 bits. > * config/rs6000/aix72.h (SUBTARGET_OVERRIDE_OPTIONS): Likewise.
I still don't understand why there is a problem here. When using gccgo the "Go stack layout" is exactly the same as the C stack layout. But this patch is fine with me if it's OK with the AIX maintainers. Ian