With revision r150587 this test passed.
>From revision r150588 and on, this test has failed as follows:

Running /tmp/r150587-150588/gcc/gcc/testsuite/gfortran.dg/dg.exp ...
...
FAIL: gfortran.dg/zero_sized_3.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/zero_sized_3.f90  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  execution test


With the message in the logfile being:
Executing on host:
/tmp/r150587-150588/gccobj/gcc/testsuite/gfortran/../../gfortran
-B/tmp/r150587-150588/gccobj/gcc/te\
stsuite/gfortran/../../
/tmp/r150587-150588/gcc/gcc/testsuite/gfortran.dg/zero_sized_3.f90   -O3
-fomit-frame-pointer -\
funroll-loops   -pedantic-errors   -isystem
/tmp/r150587-150588/gccobj/cris-elf/./newlib/targ-include -isystem /tmp/r15\
0587-150588/gcc/newlib/libc/include
-B/tmp/r150587-150588/gccobj/cris-elf/./libgloss/cris/
-L/tmp/r150587-150588/gccobj\
/cris-elf/./libgloss/cris -L/tmp/r150587-150588/gcc/libgloss/cris 
-B/tmp/r150587-150588/gccobj/cris-elf/./newlib/ -L/t\
mp/r150587-150588/gccobj/cris-elf/./newlib -sim3 
-B/tmp/r150587-150588/gccobj/cris-elf/./libgfortran/.libs -L/tmp/r150\
587-150588/gccobj/cris-elf/./libgfortran/.libs
-L/tmp/r150587-150588/gccobj/cris-elf/./libiberty  -lm   -o ./zero_sized\
_3.exe    (timeout = 300)
PASS: gfortran.dg/zero_sized_3.f90  -O3 -fomit-frame-pointer -funroll-loops 
(test for excess errors)
           0           0^M
program stopped with signal 6.^M
FAIL: gfortran.dg/zero_sized_3.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test

Author of patch exposing the regression CC:ed.
I'll try and analyze a bit so I can point out the wrong code.
N.B., CRIS has post-increment.


-- 
           Summary: [4.5 Regression]: cris-elf  gfortran.dg/zero_sized_3.f90
                    -O3 -funroll-loops execution
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hp at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-axis-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41087

Reply via email to