(Marked as a regression because the bug wasn't exposed with earlier versions,
for example 3.2.1, well before ivopts.)
Adding -fno-gcse trigs more FAILs, but -fno-gcse by itself doesn't expose the
bug.  To reproduce, run the testsuite with
"RUNTESTFLAGS=--target_board=cris-sim/-fno-ivopts" or
"RUNTESTFLAGS=--target_board=cris-sim/-fno-ivopts/-fno-gcse".  Observe, for 4.3
and the latter, for ieee.exp:
Running
/tmp/hpautotest-gcc43/gcc/gcc/testsuite/gcc.c-torture/execute/ieee/ieee.exp ...
FAIL: gcc.c-torture/execute/ieee/fp-cmp-5.c compilation,  -O1  (internal
compiler error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-5.c compilation,  -O2  (internal
compiler error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c compilation,  -O1  (internal
compiler error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c compilation,  -O2  (internal
compiler error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c compilation,  -O3
-fomit-frame-pointer  (internal compiler error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c compilation,  -O3
-fomit-frame-pointer -funroll-loops  (internal compiler error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c compilation,  -O3
-fomit-frame-pointer -funroll-all-loops -finline-functions  (internal compiler
error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-8.c compilation,  -O3 -g  (internal
compiler error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-8l.c compilation,  -O1  (internal
compiler error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-8l.c compilation,  -O2  (internal
compiler error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-8l.c compilation,  -O3
-fomit-frame-pointer  (internal compiler error)
FAIL: gcc.c-torture/execute/ieee/fp-cmp-8l.c compilation,  -O3 -g  (internal
compiler error)

The bug itself is an incomplete fix for PR25947; nothing but REG is recognised
for operand 1.


-- 
           Summary: [4.2/4.3/4.4 Regression] -fno-ivopts exposes CRIS port
                    bug, more with -fno-gcse
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Keywords: ice-on-valid-code
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: hp 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-*-*


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

Reply via email to