This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem with cbranch_optab
- From: Hendrik Greving <hendrik dot greving dot intel at gmail dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 22 Aug 2013 17:28:39 -0700
- Subject: 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