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]

h8300-hms: build failure



version: CVS head
   host: i686-linux (RH 7.0)
 target: h8300-hms

The cross toolchain fails to build possibly because of recent changes
to simplify-rtx.c.

The abort in simplify_relational_operation is triggered because it attempts
to simplify a comparison where one operand is HImode and the other
is VOIDmode:

(xxgdb) run
During symbol reading, register number 136361703 too large (max 32) in symbol buf.
 nan isnan isinf iszero flip_sign __pack_f
Breakpoint 1, simplify_relational_operation (code=NE, mode=VOIDmode, op0=0x401f1960, op1=0x4015d200) at ../../gcc/gcc/simplify-rtx.c:1804
warning: Source file is more recent than executable.

(xxgdb) print op1->mode
$1 = VOIDmode
(xxgdb) print op0->mode
$2 = HImode
(xxgdb) call debug_rtx(op0)

(compare:HI (subreg:HI (reg/v:SI 18) 0)
    (const_int 16383 [0x3fff]))
(xxgdb) call debug_rtx(op1)
(const_int 0 [0x0])
(xxgdb) 


Toshi


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