Richard Biener <[email protected]> 于2025年9月24日周三 20:36写道: > > On Tue, Sep 23, 2025 at 5:56 AM Andrew Pinski > <[email protected]> wrote: > > > > This is the next patch in the series of removing fab. > > This one is simplier than builtin_constant_p because the only > > time we want to simplify this builtin is at the final folding step. > > > > Note align-5.c needs to change slightly as __builtin_assume_aligned > > is no longer taken into account for the same reason as why PR 111875 > > is closed as invalid and why the testcase is failing at -Og > > I added a new testcase align-5a.c where the pointer is explictly aligned > > so that the check is gone there. > > Note __builtin_assume_aligned should really be instrumented for UBSAN, > > I filed PR 122038 for that. > > > > Bootstrapped and tested on x86_64-linux-gnu. >
With this patch, this test case fails on riscv64-linux-gnu gcc.target/riscv/cmo-zicboz-zic64-1.c -- YunQiang Su
