This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/17073] New: ICE with regmove


This problem seems to be specific to ppc.  I was unable
to reproduce it on ia32.

% cat foo.f90 
SUBROUTINE SYSHTN 

PARAMETER (N=100) ! works if N=10
REAL*8, DIMENSION(N,N) ::  POP, POJ4
REAL*8 Y(N)

POJ4( M, 1:N) =  MATMUL( POP , Y )

END
% ~/gcc-3.5/bin/gfortran -v
Reading specs from
/Users/lei/gcc-3.5/bin/../lib/gcc/powerpc-apple-darwin7.3.0/3.5.0/specs
Configured with: ../gcc/configure --prefix=/Users/lei/gcc-3.5/build/..
--enable-languages=f95
Thread model: posix
gcc version 3.5.0 20040816 (experimental)
% ~/gcc-3.5/bin/gfortran -O2 -fno-regmove -c foo.f90 
% ~/gcc-3.5/bin/gfortran -O2 -c foo.f90
foo.f90: In function `syshtn':
foo.f90:4: error: unrecognizable insn:
(insn:HI 23 22 24 0 (set (reg/f:SI 127)
        (plus:SI (reg/f:SI 128)
            (const_int 4294967288 [0xfffffff8]))) -1 (insn_list 22 (nil))
    (expr_list:REG_DEAD (reg/f:SI 128)
        (expr_list:REG_EQUAL (const:SI (plus:SI (symbol_ref:SI ("poj4.398")
[flags 0x182] <var_decl 0x412e5d90 poj4>)
                    (const_int 4294967288 [0xfffffff8])))
            (nil))))
foo.f90:4: internal compiler error: in extract_insn, at recog.c:2037
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
%

-- 
           Summary: ICE with regmove
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: fortran
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lei at il dot ibm dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.3.0
  GCC host triplet: powerpc-apple-darwin7.3.0
GCC target triplet: powerpc-apple-darwin7.3.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]