On Mon, Sep 15, 2025 at 3:59 PM Alexandre Oliva <[email protected]> wrote: > > On Sep 13, 2025, Alexandre Oliva <[email protected]> wrote: > > > gcc.target/aarch64/sme/nonlocal_goto_[123].c fail on aarch64 targets > > configured with --enable-default-pie. > > FTR, Martin's commit afa74d37e8170d696f97424da7ab0f71883aac70 regressed > nonlocal_goto_2.c in a slightly different way, even in a standard > aarch64-elf build. I was surprised that the warning patch caused any > codegen changes, but it seems to prevent collapsing the nonlocal label > with the return block it falls through to, and the expected code pattern > no longer matches because the separation survives through to the end of > compilation, with an extra smstart and padding.
Yes the problem with non-local lable/goto's is recorded already as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121933 . It caused gcs-nonlocal-1-track-speculation.c to fail too. Thanks, Andrew > > -- > Alexandre Oliva, happy hacker https://blog.lx.oliva.nom.br/ > Free Software Activist FSFLA co-founder GNU Toolchain Engineer > More tolerance and less prejudice are key for inclusion and diversity. > Excluding neuro-others for not behaving ""normal"" is *not* inclusive!
