On Fri, Apr 18, 2025, 7:29 PM haochen.jiang <haoch...@smtp.intel.com> wrote:
> On Linux/x86_64, > > 94f275432f7ea4781ec7c05fa9d1d81ef6cb3fc1 is the first bad commit > commit 94f275432f7ea4781ec7c05fa9d1d81ef6cb3fc1 > Author: Andrew Pinski <quic_apin...@quicinc.com> > Date: Thu Feb 20 16:09:05 2025 -0800 > > gimple-fold: Improve optimize_memcpy_to_memset to handle STRING_CST > [PR78408] > > caused > > FAIL: gcc.dg/pr78408-3.c scan-tree-dump-times forwprop1 "after previous" 1 > I have a fix for this testcase and the other one already. Will commit it tomorrow. It is just a testcase issue as the testcase gets optimized correctly; just in a different way than what this patch expects. > with GCC configured with > > ../../gcc/configure > --prefix=/export/users/haochenj/src/gcc-bisect/master/master/r16-22/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="dg.exp=gcc.dg/pr78408-3.c > --target_board='unix{-m32\ -march=cascadelake}'" > $ cd {build_dir}/gcc && make check RUNTESTFLAGS="dg.exp=gcc.dg/pr78408-3.c > --target_board='unix{-m64\ -march=cascadelake}'" > > (Please do not reply to this email, for question about this report, > contact me at haochen dot jiang at intel.com.) > (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.) >