On Fri, Jul 24, 2015 at 1:36 PM, Alexandre Oliva <aol...@redhat.com> wrote: > On Jul 24, 2015, "H.J. Lu" <hjl.to...@gmail.com> wrote: > >> On Fri, Jul 24, 2015 at 11:43 AM, Alexandre Oliva <aol...@redhat.com> wrote: >>> On Jul 23, 2015, "H.J. Lu" <hjl.to...@gmail.com> wrote: >>> >>>> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66983 >>> >>> My test logs with the patch have: >>> >>> PASS: c-c++-common/dfp/func-vararg-dfp.c execution test >>> >>> so I think this one is not caused by the PR64164 patch. > >> I double checked. r226113 failed and r226112 passed. > > Weird. Here's the asm I got, after re-running the command used to > compiled this test with -save-temps. I checked that the produced > executable is an ELF32 executable, and that it completes execution > successfully. > > How does it compare to yours?
Please add -msse2: [hjl@gnu-ivb-1 gcc]$ /export/gnu/import/git/gcc-regression/master/226113/bld/gcc/xgcc -B/export/gnu/import/git/gcc-regression/master/226113/bld/gcc/ /export/gnu/import/git/gcc-regression/gcc/gcc/testsuite/c-c++-common/dfp/func-vararg-dfp.c -m32 -fno-diagnostics-show-caret -fdiagnostics-color=never -std=gnu99 -march=i686 -msse2 [hjl@gnu-ivb-1 gcc]$ ./a.out Segmentation fault (core dumped) [hjl@gnu-ivb-1 gcc]$ /export/gnu/import/git/gcc-regression/master/226113/bld/gcc/xgcc -B/export/gnu/import/git/gcc-regression/master/226113/bld/gcc/ /export/gnu/import/git/gcc-regression/gcc/gcc/testsuite/c-c++-common/dfp/func-vararg-dfp.c -m32 -fno-diagnostics-show-caret -fdiagnostics-color=never -std=gnu99 -march=i686 [hjl@gnu-ivb-1 gcc]$ ./a.out [hjl@gnu-ivb-1 gcc]$ -- H.J.