To repeat, run gfortran.dg/char_result_5.f95 from th 4.3-branch with -fno-gcse.
In the gcc objdir:
make check-fortran 'RUNTESTFLAGS=--target_board=cris-sim/-fno-gcse
dg.exp=char_result_5.f90'

Observe:
Using /tmp/hpautotest-gcc43/gcc/gcc/testsuite/config/default.exp as
tool-and-target-specific interface file.
Running /tmp/hpautotest-gcc43/gcc/gcc/testsuite/gfortran.dg/dg.exp ...
FAIL: gfortran.dg/char_result_5.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test
FAIL: gfortran.dg/char_result_5.f90  -O3 -fomit-frame-pointer
-funroll-all-loops -finline-functions  execution test

with gfortran.log saying for both FAILs:
PASS: gfortran.dg/char_result_5.f90  -O3 -fomit-frame-pointer -funroll-loops 
(test for excess errors)
Operating system error: Illegal seek^M
Memory allocation failed^M
FAIL: gfortran.dg/char_result_5.f90  -O3 -fomit-frame-pointer -funroll-loops 
execution test

I'm guessing a target-bug, exposed by -fno-gcse.


-- 
           Summary: Miscompilation for CRIS of gfortran.dg/char_result_5.f95
                    with -fno-gcse
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Keywords: wrong-code
          Severity: normal
          Priority: P3
         Component: target
        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=38026

Reply via email to