This is the mail archive of the gcc-help@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]

Problem with cbranch_optab


Reposting with proper subject (sorry).

Hi am having a problem running into an assertion in
operand_subword_force, caused by the following call-stack (stack
order):

operand_subword_force (op=0x2aaaab11cc00, offset=0, mode=SImode)
    at ../../../../src/tools/fsf-4.8.1/gcc/emit-rtl.c:1469
-> asserts 1469      gcc_assert (result);

operand_subword (op=0x2aaaab11cc00, offset=0, validate_address=1, mode=SImode)
-> returns 0
Called from emit-rtl.c:1468

operand_subword (op=0x2aaaab11cbc0, offset=0, validate_address=1, mode=SImode)
-> returns 0
Called from emit-rtl.c:1453

do_jump_by_parts_zero_rtx (mode=SImode, op0=0x2aaaab11cbc0, if_false_label=0x0,
    if_true_label=0x2aaaab13a438, prob=-1)

op0 here is a SI pseudo register.

This happens with a special backend. Any help what could be wrong with
my backend is appreciated.

It looks like that cbranch_optab and mode SI returns CODE_FOR_nothing,
my backend does have cmpsi, cmpdi however.

Regards,
Thanks,
Hendrik Greving


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