Re: [PATCH] [testsuite] [arm/aarch64] -fno-short-enums for auto-init-[12].c

2022-12-04 Thread Richard Sandiford via Gcc-patches
Alexandre Oliva via Gcc-patches writes: > On arm-eabi, and possibly on other platforms, -fshort-enums is enabled > by default, which breaks some tests' expectations as to enum sizes > with DEFERRED_INIT. Disable short enums so that the expectations are > met. > > Regstraped on x86_64-linux-gnu,

[PATCH] [testsuite] [arm/aarch64] -fno-short-enums for auto-init-[12].c

2022-12-02 Thread Alexandre Oliva via Gcc-patches
On arm-eabi, and possibly on other platforms, -fshort-enums is enabled by default, which breaks some tests' expectations as to enum sizes with DEFERRED_INIT. Disable short enums so that the expectations are met. Regstraped on x86_64-linux-gnu, also tested with crosses to riscv64-elf and