Executing on host: /home/dave/gnu/gcc-4.2/objdir/gcc/xgcc -B/home/dave/gnu/gcc-4 .2/objdir/gcc/ /home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.dg/nrv3.c -O -fdum p-tree-optimized -fno-show-column -S -o nrv3.s (timeout = 300) PASS: gcc.dg/nrv3.c (test for excess errors) FAIL: gcc.dg/nrv3.c scan-tree-dump-times return slot optimization 2
Subject: Re: New: FAIL: gcc.dg/nrv3.c scan-tree-dump-times return slot optimization 2 On Thu, 7 Sep 2006, danglin at gcc dot gnu dot org wrote: > Executing on host: /home/dave/gnu/gcc-4.2/objdir/gcc/xgcc > -B/home/dave/gnu/gcc-4 > .2/objdir/gcc/ /home/dave/gnu/gcc-4.2/gcc/gcc/testsuite/gcc.dg/nrv3.c -O > -fdum > p-tree-optimized -fno-show-column -S -o nrv3.s (timeout = 300) > PASS: gcc.dg/nrv3.c (test for excess errors) > FAIL: gcc.dg/nrv3.c scan-tree-dump-times return slot optimization 2 > GCC target triplet: hppa*-*-* (32-bit) I see this failing on hppa64 as well.
Subject: Re: FAIL: gcc.dg/nrv3.c scan-tree-dump-times return slot optimization 2 > I see this failing on hppa64 as well. Same here. When I filed the report, I thought I had seen a codesourcery build where the test didn't fail. Dave
Confirmed, the size of the struct is too small to cause it to be returned by reference. See the patch at http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00051.html for a fix.
http://gcc.gnu.org/ml/gcc-cvs/2006-09/msg00240.html