Re: [r16-7504 Regression] FAIL: gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c scan-tree-dump-times forwprop1 "after previous" 1 on Linux/x86_64

Andrew Pinski via Gcc-regression <[email protected]>
Newsgroups gmane.comp.gcc.regression,gmane.comp.gcc.patches
Message-ID <CALvbMcAhAsWCaxOmq8HcDHj3+VO19-SSBF=XogRHvC-TTdYm-g@mail.gmail.com>
On Fri, Feb 13, 2026 at 7:32 PM Haochen Jiang <[email protected]> wrote:
>
> On Linux/x86_64,
>
> b960a57e1b00390c2ca9ff1406b72232d379a322 is the first bad commit
> commit b960a57e1b00390c2ca9ff1406b72232d379a322
> Author: Andrew Pinski <[email protected]>
> Date:   Thu Feb 12 20:36:33 2026 -0800
>
>     forwprop: Add copy prop for aggregates into a return [PR95825]
>
> caused
>
> FAIL: gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c scan-tree-dump-times forwprop1 "after previous" 1
>
> with GCC configured with
>
> ../../gcc/configure --prefix=/export/users3/haochenj/src/gcc-bisect/master/master/r16-7504/usr --enable-clocale=gnu --with-system-zlib --with-demangler-in-ld --with-fpmath=sse --enable-languages=c,c++,fortran --enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap
>
> To reproduce:
>
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="tree-ssa.exp=gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c --target_board='unix{-m32}'"
> $ cd {build_dir}/gcc && make check RUNTESTFLAGS="tree-ssa.exp=gcc.dg/tree-ssa/copy-prop-aggregate-return-1.c --target_board='unix{-m32\ -march=cascadelake}'"

I could not figure out how to get a testcase that works on ia32 so I
limited the testcase instead to x86_64 and aarch64 because I know
there are other targets where this could fail for too and it was
easier to limit it to a few targets where it would work.

Thanks,
Andrew


>
> (Please directly reply to this email for question about this report.)
> (If you met problems with cascadelake related, disabling AVX512F in command line might save that.)
> (However, please make sure that there is no potential problems with AVX512.)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.